mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-22 01:21:07 +00:00
Move database host to .env
This commit is contained in:
parent
77e6e2d708
commit
380e49712d
2 changed files with 2 additions and 1 deletions
|
@ -20,6 +20,7 @@ MEDIA_ROOT=images/
|
|||
POSTGRES_PASSWORD=fedireads
|
||||
POSTGRES_USER=fedireads
|
||||
POSTGRES_DB=fedireads
|
||||
POSTGRES_HOST=db
|
||||
|
||||
RABBITMQ_DEFAULT_USER=rabbit
|
||||
RABBITMQ_DEFAULT_PASS=changeme
|
||||
|
|
|
@ -84,7 +84,7 @@ FEDIREADS_DBS = {
|
|||
'NAME': env('POSTGRES_DB', 'fedireads'),
|
||||
'USER': env('POSTGRES_USER', 'fedireads'),
|
||||
'PASSWORD': env('POSTGRES_PASSWORD', 'fedireads'),
|
||||
'HOST': 'db',
|
||||
'HOST': env('POSTGRES_HOST', ''),
|
||||
'PORT': 5432
|
||||
},
|
||||
'sqlite': {
|
||||
|
|
Loading…
Reference in a new issue