Merge pull request #141 from BretFisher/fix-worker-depends-on

fix worker compose depends_on
This commit is contained in:
Jenny Burcio 2019-08-27 12:13:22 -07:00 committed by GitHub
commit df86c45915
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 0 deletions

View File

@ -29,6 +29,7 @@ services:
context: ./worker context: ./worker
depends_on: depends_on:
- "redis" - "redis"
- "db"
networks: networks:
- back-tier - back-tier

View File

@ -58,6 +58,9 @@ services:
networks: networks:
- frontend - frontend
- backend - backend
depends_on:
- db
- redis
deploy: deploy:
mode: replicated mode: replicated
replicas: 1 replicas: 1

View File

@ -56,6 +56,9 @@ services:
networks: networks:
- frontend - frontend
- backend - backend
depends_on:
- db
- redis
deploy: deploy:
mode: replicated mode: replicated
replicas: 1 replicas: 1