From 848db1f8b0010e79ec4116670cd64e8afe36a73f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?X=C3=A9fir=20Destiny?= Date: Thu, 19 Dec 2019 15:00:37 +0100 Subject: [PATCH] Add db dependancy to docker-compose (thanks Kody again) --- docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index d2fdb44..1756fa8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,6 +7,8 @@ services: - "5000:5000" entrypoint: python3 app.py working_dir: /app + depends_on: + - db env_file: - .env.dist - .env