mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-01-23 02:35:14 +00:00
changed POSTGRES_PORT EV to an int and made POSTGRES_HOST default localhost instead of db
This commit is contained in:
parent
645d916d74
commit
f44ddc31ba
1 changed files with 2 additions and 2 deletions
|
|
@ -68,8 +68,8 @@ DATABASES = {
|
|||
'NAME': os.environ.get('POSTGRES_DB', 'dispatcharr'),
|
||||
'USER': os.environ.get('POSTGRES_USER', 'dispatch'),
|
||||
'PASSWORD': os.environ.get('POSTGRES_PASSWORD', 'secret'),
|
||||
'HOST': os.environ.get('POSTGRES_HOST', 'db'),
|
||||
'PORT': os.environ.get('POSTGRES_PORT', 5432),
|
||||
'HOST': os.environ.get('POSTGRES_HOST', 'localhost'),
|
||||
'PORT': int(os.environ.get('POSTGRES_PORT', 5432)),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue