mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
fix: ensure worker services depend on healthy master service
This commit is contained in:
@@ -50,7 +50,8 @@ services:
|
||||
CRAWLAB_NODE_MASTER: "N"
|
||||
CRAWLAB_MASTER_HOST: "master"
|
||||
depends_on:
|
||||
- master
|
||||
master:
|
||||
condition: service_healthy
|
||||
env_file:
|
||||
- .env.local
|
||||
|
||||
|
||||
@@ -18,7 +18,8 @@ services:
|
||||
CRAWLAB_NODE_MASTER: "N"
|
||||
CRAWLAB_MASTER_HOST: "master"
|
||||
depends_on:
|
||||
- master
|
||||
master:
|
||||
condition: service_healthy
|
||||
|
||||
mongo:
|
||||
image: mongo:5
|
||||
|
||||
@@ -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