Commit 6329bd43 by Chif Gergő

Separate testing lib to local settings

parent 47e38116
...@@ -41,7 +41,6 @@ INSTALLED_APPS = [ ...@@ -41,7 +41,6 @@ INSTALLED_APPS = [
"djoser", "djoser",
"corsheaders", "corsheaders",
"guardian", "guardian",
"django_nose",
"channels", "channels",
"django_celery_beat" "django_celery_beat"
] ]
......
...@@ -10,6 +10,10 @@ for i in LOCAL_APPS: ...@@ -10,6 +10,10 @@ for i in LOCAL_APPS:
ADMIN_ENABLED = True ADMIN_ENABLED = True
INSTALLED_APPS += [
'django_nose'
]
ALLOWED_HOSTS = ['*'] ALLOWED_HOSTS = ['*']
AUTH_PASSWORD_VALIDATORS = [] AUTH_PASSWORD_VALIDATORS = []
......
...@@ -6,7 +6,7 @@ DEBUG = False ...@@ -6,7 +6,7 @@ DEBUG = False
DATABASES = { DATABASES = {
"default": { "default": {
"ENGINE": "django.db.backends.postgresql", "ENGINE": "django.db.backends.postgresql",
"HOST": "db", "HOST": os.getenv("DATABASE_HOST"),
"PORT": "5432", "PORT": "5432",
"NAME": os.getenv("DATABASE_NAME"), "NAME": os.getenv("DATABASE_NAME"),
"USER": os.getenv("DATABASE_USER"), "USER": os.getenv("DATABASE_USER"),
...@@ -18,3 +18,12 @@ STATIC_ROOT = "/static/" ...@@ -18,3 +18,12 @@ STATIC_ROOT = "/static/"
CELERY_BROKER_URL = 'redis://redis:6379' CELERY_BROKER_URL = 'redis://redis:6379'
CELERY_RESULT_BACKEND = "redis://redis:6379" CELERY_RESULT_BACKEND = "redis://redis:6379"
CHANNEL_LAYERS = {
'default': {
'BACKEND': 'channels_redis.core.RedisChannelLayer',
'CONFIG': {
"hosts": [(os.getenv('REDIS_HOST', 'redis'), 6379)],
},
},
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment