Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
acharb committed Nov 21, 2023
1 parent 4e15b12 commit 472fc1b
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,19 @@ services:
image: stellar/recoverysigner
depends_on:
- postgres1
command:
/bin/bash -c 'while !</dev/tcp/db/5432; do sleep 1; done; db migrate up'
# ALEC TODO - remove
# command: ["db", "migrate", "up"]
entrypoint: ["/bin/bash", "-c"]
command: >
while !</dev/tcp/postgres1/5432; do sleep 1; done; db migrate up;
environment:
DB_URL: "postgresql://postgres:pg_password@postgres1:5432/pg_database1?sslmode=disable"

recovery-signer-migrate2:
image: stellar/recoverysigner
depends_on:
- postgres2
command:
/bin/bash -c 'while !</dev/tcp/db/5432; do sleep 1; done; db migrate up'
# ALEC TODO - remove
# command: ["db", "migrate", "up"]
entrypoint: ["/bin/bash", "-c"]
command: >
while !</dev/tcp/postgres1/5432; do sleep 1; done; db migrate up;
environment:
DB_URL: "postgresql://postgres:pg_password@postgres2:5432/pg_database2?sslmode=disable"

Expand Down

0 comments on commit 472fc1b

Please sign in to comment.