forked from mirrors/bookwyrm
Don't hardcode postres port in bookwyrm.settings
Have bookwyrm.settings check for an alternative postgres port.
This commit is contained in:
parent
0c0dcc57d6
commit
213a9508d8
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