Skip to content

Commit

Permalink
fix: docker-compose file database connection
Browse files Browse the repository at this point in the history
  • Loading branch information
CaioTeixeira95 committed Nov 17, 2023
1 parent cdd7784 commit 4548152
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dev/docker-compose-sdp-anchor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion dev/docker-compose-tss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 4548152

Please sign in to comment.