Skip to content

Commit 86aa3af

Browse files
author
Mano Marks
authored
Merge pull request dockersamples#87 from ikisusi/startup-order
fix start-up order, depend worker on redis in docker-compose.yml
2 parents f803307 + 0f9eee5 commit 86aa3af

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ services:
2727
worker:
2828
build:
2929
context: ./worker
30+
depends_on:
31+
- "redis"
3032
networks:
3133
- back-tier
3234

0 commit comments

Comments
 (0)