Skip to content

Commit

Permalink
restart on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
acharb committed Nov 21, 2023
1 parent 9777462 commit 3d9bbc1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ services:
image: stellar/recoverysigner
depends_on:
- postgres1
restart: on-failure
command: ["db", "migrate", "up"]
environment:
DB_URL: "postgresql://postgres:pg_password1@postgres1:5432/pg_database1?sslmode=disable"
Expand All @@ -28,6 +29,7 @@ services:
image: stellar/recoverysigner
depends_on:
- postgres2
restart: on-failure
command: ["db", "migrate", "up"]
environment:
DB_URL: "postgresql://postgres:pg_password2@postgres2:5432/pg_database2?sslmode=disable"
Expand Down

0 comments on commit 3d9bbc1

Please sign in to comment.