Updated docker-compose

This commit is contained in:
Marcin-Ramotowski 2025-03-17 20:41:21 +00:00
parent 9d3ea22fe8
commit 3d50044a93

View File

@ -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