Skip to content

Commit 5952a08

Browse files
authored
Merge pull request #1 from epinapala/epinapala-update-postgres-server
Update env.py to use POSTGRES_SERVER from env variable
2 parents 45be043 + 3d002ad commit 5952a08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/migrations/env.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
config.set_main_option(
1616
"sqlalchemy.url",
17-
f"{settings.POSTGRES_ASYNC_PREFIX}{settings.POSTGRES_USER}:{settings.POSTGRES_PASSWORD}@localhost/{settings.POSTGRES_DB}",
17+
f"{settings.POSTGRES_ASYNC_PREFIX}{settings.POSTGRES_USER}:{settings.POSTGRES_PASSWORD}@{settings.POSTGRES_SERVER}/{settings.POSTGRES_DB}",
1818
)
1919

2020
# Interpret the config file for Python logging.

0 commit comments

Comments
 (0)