контейнеризация для production

This commit is contained in:
Егор Кандрушин 2026-04-07 15:43:02 +03:00
parent bece7ab23b
commit 98f51e5210
2 changed files with 36 additions and 0 deletions

View file

@ -1,4 +1,16 @@
services:
agent:
build:
context: .
target: production
ports:
- "8000:8000"
env_file:
- .env
restart: unless-stopped
profiles:
- production
agent-dev:
build:
context: .