forked from GithubBackups/healthchecks
take postgres user from env
This commit is contained in:
parent
8b95449c6f
commit
c2238dec43
@ -92,8 +92,7 @@ DATABASES = {
|
|||||||
'default': {
|
'default': {
|
||||||
'ENGINE': 'django.db.backends.postgresql_psycopg2',
|
'ENGINE': 'django.db.backends.postgresql_psycopg2',
|
||||||
'NAME': 'hc',
|
'NAME': 'hc',
|
||||||
'USER': 'postgres',
|
'USER': env.get("pg_user", "postgres"),
|
||||||
'PASSWORD': '',
|
|
||||||
'TEST': {'CHARSET': 'UTF8'}
|
'TEST': {'CHARSET': 'UTF8'}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user