Updated docker-compose
This commit is contained in:
parent
9d3ea22fe8
commit
3d50044a93
@ -2,13 +2,11 @@ services:
|
|||||||
api:
|
api:
|
||||||
container_name: todo-api
|
container_name: todo-api
|
||||||
hostname: todo-api
|
hostname: todo-api
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
build: .
|
build: .
|
||||||
env_file:
|
env_file:
|
||||||
- api/.env
|
- api/.env
|
||||||
ports:
|
|
||||||
- "5000:5000"
|
|
||||||
#volumes:
|
|
||||||
#- ./api/test.db:/app/test.db
|
|
||||||
db:
|
db:
|
||||||
container_name: db
|
container_name: db
|
||||||
hostname: db
|
hostname: db
|
||||||
|
Loading…
x
Reference in New Issue
Block a user