mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-26 17:49:15 +01:00
fix: ensure worker services depend on healthy master service
This commit is contained in:
@@ -31,7 +31,8 @@ services:
|
||||
CRAWLAB_NODE_MASTER: "N"
|
||||
CRAWLAB_MASTER_HOST: "master"
|
||||
depends_on:
|
||||
- master
|
||||
master:
|
||||
condition: service_healthy
|
||||
env_file:
|
||||
- .env
|
||||
|
||||
@@ -44,7 +45,8 @@ services:
|
||||
CRAWLAB_NODE_MASTER: "N"
|
||||
CRAWLAB_MASTER_HOST: "master"
|
||||
depends_on:
|
||||
- master
|
||||
master:
|
||||
condition: service_healthy
|
||||
env_file:
|
||||
- .env
|
||||
|
||||
|
||||
Reference in New Issue
Block a user