forked from mirrors/bookwyrm
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_PASSWORD=fedireads
|
||||||
POSTGRES_USER=fedireads
|
POSTGRES_USER=fedireads
|
||||||
POSTGRES_DB=fedireads
|
POSTGRES_DB=fedireads
|
||||||
|
POSTGRES_HOST=db
|
||||||
|
|
||||||
RABBITMQ_DEFAULT_USER=rabbit
|
RABBITMQ_DEFAULT_USER=rabbit
|
||||||
RABBITMQ_DEFAULT_PASS=changeme
|
RABBITMQ_DEFAULT_PASS=changeme
|
||||||
|
|
|
@ -84,7 +84,7 @@ FEDIREADS_DBS = {
|
||||||
'NAME': env('POSTGRES_DB', 'fedireads'),
|
'NAME': env('POSTGRES_DB', 'fedireads'),
|
||||||
'USER': env('POSTGRES_USER', 'fedireads'),
|
'USER': env('POSTGRES_USER', 'fedireads'),
|
||||||
'PASSWORD': env('POSTGRES_PASSWORD', 'fedireads'),
|
'PASSWORD': env('POSTGRES_PASSWORD', 'fedireads'),
|
||||||
'HOST': 'db',
|
'HOST': env('POSTGRES_HOST', ''),
|
||||||
'PORT': 5432
|
'PORT': 5432
|
||||||
},
|
},
|
||||||
'sqlite': {
|
'sqlite': {
|
||||||
|
|
Loading…
Reference in a new issue