Skip to content

Commit 0f9eee5

Browse files
committed
fix start-up order, depend worker on redis in docker-compose.yml
1 parent a58579e commit 0f9eee5

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)