Remove unused docker settings
This commit is contained in:
parent
4217774c13
commit
1a4c75c7aa
|
@ -1,30 +0,0 @@
|
|||
from socket import gethostname
|
||||
from socket import gethostbyname_ex
|
||||
|
||||
from .base import *
|
||||
|
||||
|
||||
ALLOWED_HOSTS = [
|
||||
gethostname(),
|
||||
] + list(set(gethostbyname_ex(gethostname())[2]))
|
||||
|
||||
CSRF_TRUSTED_ORIGINS = [
|
||||
"http://localhost:8080",
|
||||
]
|
||||
|
||||
# SECURITY WARNING: keep the secret key used in production secret!
|
||||
SECRET_KEY = os.environ.get("DJANGO_SECRET_KEY")
|
||||
|
||||
DEBUG = os.environ.get("DJANGO_DEBUG")
|
||||
CRISPY_FAIL_SILENTLY = not DEBUG
|
||||
|
||||
DATABASES = {
|
||||
"default": {
|
||||
"ENGINE": "django.db.backends.postgresql",
|
||||
"NAME": "postgres",
|
||||
"USER": "postgres",
|
||||
"HOST": "db",
|
||||
"PORT": 5432,
|
||||
"PASSWORD": "password",
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue