[db] use tcp -> support ssh

This commit is contained in:
Nico Schottelius 2020-04-08 13:09:17 +02:00
parent 1838eaf7dd
commit 3d2f8574d3
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ except ModuleNotFoundError:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'HOST': '::1', # connecting via tcp, v6, to allow ssh forwarding to work
'NAME': uncloud.secrets.POSTGRESQL_DB_NAME,
}
}