Merge pull request #141 from BretFisher/fix-worker-depends-on
fix worker compose depends_on
This commit is contained in:
commit
df86c45915
@ -29,6 +29,7 @@ services:
|
|||||||
context: ./worker
|
context: ./worker
|
||||||
depends_on:
|
depends_on:
|
||||||
- "redis"
|
- "redis"
|
||||||
|
- "db"
|
||||||
networks:
|
networks:
|
||||||
- back-tier
|
- back-tier
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user