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