diff --git a/docker-compose.yml b/docker-compose.yml index 912133ae..1de11503 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,6 +2,9 @@ version: '3' services: web: + depends_on: + - db + - redis deploy: placement: constraints: @@ -21,6 +24,8 @@ services: - ./nopaque.py:/home/nopaque/nopaque.py - ./requirements.txt:/home/nopaque/requirements.txt daemon: + depends_on: + - db deploy: placement: constraints: