Skip to content

Commit 4fd7035

Browse files
chore: update DATABASE_URL to use the database created via POSTGRES_D… (#4836)
…B in compose ## About the changes I've noticed that all migrations are applied to the `postgres` database along we've the variable POSTGRES_DB=db in docker compose. The reason is the DATABASE_URL variable still refers to `postgres` instead `db`. I updated the URL and now it works with `db`.
1 parent 93da4a1 commit 4fd7035

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ services:
2323
- "4242:4242"
2424
environment:
2525
# This points Unleash to its backing database (defined in the `db` section below)
26-
DATABASE_URL: "postgres://postgres:unleash@db/postgres"
26+
DATABASE_URL: "postgres://postgres:unleash@db/db"
2727
# Disable SSL for database connections. @chriswk: why do we do this?
2828
DATABASE_SSL: "false"
2929
# Changing log levels:

0 commit comments

Comments
 (0)