Skip to content

Commit

Permalink
Merge pull request hashgraph#2379 from IntellectEU/fix/workers-cold-s…
Browse files Browse the repository at this point in the history
…tart-dc

Update workers on docker-compose.yml
  • Loading branch information
simvalery authored Jul 12, 2023
2 parents 8d6632a + e927258 commit 4ed372d
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 16 deletions.
12 changes: 8 additions & 4 deletions docker-compose-aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,10 @@ services:
context: .
dockerfile: ./worker-service/Dockerfile
depends_on:
- ipfs-node
- auth-service
ipfs-node:
condition: service_healthy
auth-service:
condition: service_started
env_file:
- ./worker-service/.env.docker
environment:
Expand All @@ -65,8 +67,10 @@ services:
context: .
dockerfile: ./worker-service/Dockerfile
depends_on:
- ipfs-node
- auth-service
ipfs-node:
condition: service_healthy
auth-service:
condition: service_started
env_file:
- ./worker-service/.env.docker
environment:
Expand Down
12 changes: 8 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,10 @@ services:
context: .
dockerfile: ./worker-service/Dockerfile
depends_on:
- ipfs-node
- auth-service
ipfs-node:
condition: service_healthy
auth-service:
condition: service_started
environment:
- GUARDIAN_ENV=${GUARDIAN_ENV}
- SERVICE_CHANNEL:"worker.1"
Expand All @@ -97,8 +99,10 @@ services:
context: .
dockerfile: ./worker-service/Dockerfile
depends_on:
- ipfs-node
- auth-service
ipfs-node:
condition: service_healthy
auth-service:
condition: service_started
environment:
- GUARDIAN_ENV=${GUARDIAN_ENV}
- SERVICE_CHANNEL="worker.2"
Expand Down
12 changes: 8 additions & 4 deletions docker-composeRIL.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,10 @@ services:
context: .
dockerfile: ./worker-service/Dockerfile
depends_on:
- ipfs-node
- auth-service
ipfs-node:
condition: service_healthy
auth-service:
condition: service_started
environment:
- GUARDIAN_ENV=${GUARDIAN_ENV}
- SERVICE_CHANNEL:"worker.1"
Expand All @@ -94,8 +96,10 @@ services:
context: .
dockerfile: ./worker-service/Dockerfile
depends_on:
- ipfs-node
- auth-service
ipfs-node:
condition: service_healthy
auth-service:
condition: service_started
environment:
- GUARDIAN_ENV=${GUARDIAN_ENV}
- SERVICE_CHANNEL="worker.2"
Expand Down
12 changes: 8 additions & 4 deletions docker-compose_SSV.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,10 @@ services:
context: .
dockerfile: ./worker-service/Dockerfile
depends_on:
- ipfs-node
- auth-service
ipfs-node:
condition: service_healthy
auth-service:
condition: service_started
environment:
- GUARDIAN_ENV=${GUARDIAN_ENV}
- SERVICE_CHANNEL=${WORKER_1_SERVICE_CHANNEL}
Expand All @@ -109,8 +111,10 @@ services:
context: .
dockerfile: ./worker-service/Dockerfile
depends_on:
- ipfs-node
- auth-service
ipfs-node:
condition: service_healthy
auth-service:
condition: service_started
environment:
- GUARDIAN_ENV=${GUARDIAN_ENV}
- SERVICE_CHANNEL=${WORKER_2_SERVICE_CHANNEL}
Expand Down

0 comments on commit 4ed372d

Please sign in to comment.