контейнеризация для production
This commit is contained in:
parent
bece7ab23b
commit
98f51e5210
2 changed files with 36 additions and 0 deletions
|
|
@ -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: .
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue