network_inventory/network_inventory/network_inventory/settings/docker.py

23 lines
410 B
Python

from .base import *
ALLOWED_HOSTS = [
'localhost',
'127.0.0.1',
]
DEBUG = os.environ.get('DEBUG')
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = os.environ.get('SECRET_KEY')
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'postgres',
'USER': 'postgres',
'HOST': 'db',
'PORT': 5432,
}
}