Skip to content
Permalink
Browse files

Updated database details for production

  • Loading branch information
dnstanciu committed Jan 15, 2019
1 parent c421756 commit 7315595e68b48a115a4f1872432325000fb36c2a
Showing with 4 additions and 3 deletions.
  1. +4 −3 django/todoproj/settings_prod.py
@@ -86,9 +86,10 @@
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'postgres',
'USER': 'postgres',
'HOST': 'db',
'NAME': os.environ['DB_NAME_DJANGO'],
'USER': os.environ['DB_USER_DJANGO'],
'PASSWORD': os.environ['DB_PASSWORD_DJANGO'],
'HOST': os.environ['CLOUD_SQL_INSTANCE_IP'],
'PORT': 5432,
}
}

0 comments on commit 7315595

Please sign in to comment.
You can’t perform that action at this time.