mirror of https://github.com/snachodog/mybuddy.git
26 lines
481 B
Python
26 lines
481 B
Python
import os
|
|
|
|
from .base import * # noqa: F401,F403
|
|
|
|
|
|
DEBUG = os.environ.get('DEBUG', False)
|
|
|
|
|
|
# SECURITY WARNING: keep the secret key used in production secret!
|
|
|
|
SECRET_KEY = os.environ.get('SECRET_KEY')
|
|
|
|
|
|
# Database
|
|
# https://docs.djangoproject.com/en/1.11/ref/settings/#databases
|
|
|
|
DATABASES = {
|
|
'default': {
|
|
'ENGINE': 'django.db.backends.postgresql_psycopg2',
|
|
'NAME': 'postgres',
|
|
'USER': 'postgres',
|
|
'HOST': 'db',
|
|
'PORT': 5432,
|
|
}
|
|
}
|