mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-04-25 01:58:54 +02:00
fix(settings): respect SQL_PORT env variable, defaulting to 5432 if not available
This commit is contained in:
@@ -131,7 +131,7 @@ DATABASES = {
|
|||||||
"USER": os.environ.get("SQL_USER", "user"),
|
"USER": os.environ.get("SQL_USER", "user"),
|
||||||
"PASSWORD": os.environ.get("SQL_PASSWORD", "password"),
|
"PASSWORD": os.environ.get("SQL_PASSWORD", "password"),
|
||||||
"HOST": os.environ.get("SQL_HOST", "localhost"),
|
"HOST": os.environ.get("SQL_HOST", "localhost"),
|
||||||
"PORT": "5432",
|
"PORT": os.environ.get("SQL_PORT", "5432"),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user