mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-10-31 22:19:00 +00:00
Don't hardcode postres port in bookwyrm.settings
Have bookwyrm.settings check for an alternative postgres port.
This commit is contained in:
parent
f508b4eb33
commit
e8124806b1
2 changed files with 2 additions and 1 deletions
|
@ -21,6 +21,7 @@ BOOKWYRM_DATABASE_BACKEND=postgres
|
|||
|
||||
MEDIA_ROOT=images/
|
||||
|
||||
POSTGRES_PORT=5432
|
||||
POSTGRES_PASSWORD=securedbpassword123
|
||||
POSTGRES_USER=fedireads
|
||||
POSTGRES_DB=fedireads
|
||||
|
|
|
@ -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),
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue