Don't hardcode postres port in bookwyrm.settings

Have bookwyrm.settings check for an alternative postgres port.
This commit is contained in:
bcj
2021-05-17 00:03:11 -05:00
parent 0c0dcc57d6
commit 213a9508d8
2 changed files with 2 additions and 1 deletions

View File

@ -118,7 +118,7 @@ BOOKWYRM_DBS = {
"USER": env("POSTGRES_USER", "fedireads"),
"PASSWORD": env("POSTGRES_PASSWORD", "fedireads"),
"HOST": env("POSTGRES_HOST", ""),
"PORT": 5432,
"PORT": env("POSTGRES_PORT", 5432),
},
}