Skip to content

Commit

Permalink
add depends on conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
pablomendezroyo committed May 9, 2024
1 parent 50210f8 commit a80d67b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,14 @@ services:
build:
context: web3signer/signer
dockerfile: Dockerfile
depends_on:
flyway:
condition: service_completed_successfully
networks:
dncore_network:
aliases:
- web3signer.web3signer.dappnode
restart: always

flyway:
build:
Expand All @@ -53,11 +57,13 @@ services:
dncore_network:
aliases:
- postgres.web3signer.dappnode
user: postgres
healthcheck:
test: pg_isready -U postgres
interval: 5s
timeout: 5s
retries: 5
restart: always

brain:
build:
Expand All @@ -71,6 +77,7 @@ services:
networks:
dncore_network:
name: dncore_network
external: true


volumes:
Expand Down

0 comments on commit a80d67b

Please sign in to comment.