From 0f9eee5879ad41ca0ddbc89d208dc541a70248bf Mon Sep 17 00:00:00 2001 From: Marko Laakso Date: Sun, 1 Oct 2017 14:36:10 +0300 Subject: [PATCH] fix start-up order, depend worker on redis in docker-compose.yml --- docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index f5c12df..1c99ed3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -27,6 +27,8 @@ services: worker: build: context: ./worker + depends_on: + - "redis" networks: - back-tier