|
|
|
|
@ -117,12 +117,13 @@ WSGI_APPLICATION = 'lms.wsgi.application' |
|
|
|
|
|
|
|
|
|
DATABASES = { |
|
|
|
|
'default': { |
|
|
|
|
'HOST': '192.168.0.2', |
|
|
|
|
'ENGINE': 'django.db.backends.postgresql_psycopg2', |
|
|
|
|
'NAME': 'codemy', |
|
|
|
|
'USER': 'team', |
|
|
|
|
'PASSWORD': 'nu5Xefise' |
|
|
|
|
} |
|
|
|
|
'NAME': os.environ.get('DB_NAME', 'codemy'), |
|
|
|
|
'USER': os.environ.get('PG_ENV_POSTGRES_USER', 'team'), |
|
|
|
|
'PASSWORD': os.environ.get('PG_ENV_POSTGRES_PASSWORD', 'nu5Xefise'), |
|
|
|
|
'HOST': os.environ.get('PG_PORT_5432_TCP_ADDR', '77.244.221.176'), |
|
|
|
|
'PORT': os.environ.get('PG_PORT_5432_TCP_PORT', '5432'), |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|