From 3d50044a93ed00c3f424d7d37bf86f62eac58439 Mon Sep 17 00:00:00 2001 From: Marcin-Ramotowski Date: Mon, 17 Mar 2025 20:41:21 +0000 Subject: [PATCH] Updated docker-compose --- docker-compose.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 4ba2a1f..4717f40 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,13 +2,11 @@ services: api: container_name: todo-api hostname: todo-api + depends_on: + - db build: . env_file: - api/.env - ports: - - "5000:5000" - #volumes: - #- ./api/test.db:/app/test.db db: container_name: db hostname: db