From 4548152077b022ef950f8aeae588656fef170d3d Mon Sep 17 00:00:00 2001 From: Caio Teixeira Date: Fri, 17 Nov 2023 11:37:37 -0300 Subject: [PATCH] fix: docker-compose file database connection --- dev/docker-compose-sdp-anchor.yml | 3 ++- dev/docker-compose-tss.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dev/docker-compose-sdp-anchor.yml b/dev/docker-compose-sdp-anchor.yml index c6959faed..03358f218 100644 --- a/dev/docker-compose-sdp-anchor.yml +++ b/dev/docker-compose-sdp-anchor.yml @@ -24,7 +24,7 @@ services: - "8003:8003" environment: BASE_URL: http://localhost:8000 - DATABASE_URL: postgres://postgres@db:5432/postgres?sslmode=disable + DATABASE_URL: postgres://postgres@db:5432/sdp?sslmode=disable ENVIRONMENT: localhost LOG_LEVEL: TRACE PORT: "8000" @@ -63,6 +63,7 @@ services: - -c - | sleep 5 + ./stellar-disbursement-platform db tenant migrate up ./stellar-disbursement-platform db migrate up --all ./stellar-disbursement-platform db auth migrate up --all ./stellar-disbursement-platform db setup-for-network diff --git a/dev/docker-compose-tss.yml b/dev/docker-compose-tss.yml index c9a55ecce..c8e3d76c1 100644 --- a/dev/docker-compose-tss.yml +++ b/dev/docker-compose-tss.yml @@ -9,7 +9,7 @@ services: ports: - "9000:9000" environment: - DATABASE_URL: postgres://postgres@db:5432/postgres?sslmode=disable + DATABASE_URL: postgres://postgres@db:5432/sdp?sslmode=disable NETWORK_PASSPHRASE: "Test SDF Network ; September 2015" HORIZON_URL: "https://horizon-testnet.stellar.org" NUM_CHANNEL_ACCOUNTS: "3"