контейнеризация для dev
This commit is contained in:
parent
1e9fa1f702
commit
bece7ab23b
4 changed files with 50 additions and 0 deletions
16
docker-compose.yml
Normal file
16
docker-compose.yml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
services:
|
||||
agent-dev:
|
||||
build:
|
||||
context: .
|
||||
target: development
|
||||
additional_contexts:
|
||||
agent_api: ${AGENT_API_PATH}
|
||||
volumes:
|
||||
- ./src:/app/src
|
||||
- ${AGENT_API_PATH}:/agent-api/
|
||||
ports:
|
||||
- "8000:8000"
|
||||
env_file:
|
||||
- .env
|
||||
profiles:
|
||||
- dev
|
||||
Loading…
Add table
Add a link
Reference in a new issue