Skip to content

Commit

Permalink
Add restart policy to main docker-compose (#1797)
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaubennassar authored Mar 13, 2023
1 parent 4e0408c commit 41cb989
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ networks:
services:
zkevm-rpc:
container_name: zkevm-rpc
restart: unless-stopped
depends_on:
zkevm-pool-db:
condition: service_healthy
Expand All @@ -28,6 +29,7 @@ services:

zkevm-sync:
container_name: zkevm-sync
restart: unless-stopped
depends_on:
zkevm-state-db:
condition: service_healthy
Expand All @@ -44,6 +46,7 @@ services:

zkevm-state-db:
container_name: zkevm-state-db
restart: unless-stopped
image: postgres
healthcheck:
test: [ "CMD-SHELL", "pg_isready" ]
Expand All @@ -69,6 +72,7 @@ services:

zkevm-pool-db:
container_name: zkevm-pool-db
restart: unless-stopped
image: postgres
healthcheck:
test: [ "CMD-SHELL", "pg_isready" ]
Expand All @@ -93,6 +97,7 @@ services:

zkevm-prover:
container_name: zkevm-prover
restart: unless-stopped
image: hermeznetwork/zkevm-prover:45df44e
depends_on:
zkevm-state-db:
Expand Down

0 comments on commit 41cb989

Please sign in to comment.