dev #9
@@ -18,14 +18,14 @@ DATABASES = {
|
|||||||
"NAME": "mostovik",
|
"NAME": "mostovik",
|
||||||
"USER": "postgres",
|
"USER": "postgres",
|
||||||
"PASSWORD": "postgres",
|
"PASSWORD": "postgres",
|
||||||
"HOST": "127.0.0.1",
|
"HOST": "10.10.0.112",
|
||||||
"PORT": "5432",
|
"PORT": "5432",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# Celery
|
# Celery
|
||||||
CELERY_BROKER_URL = "redis://redis:6379/0"
|
CELERY_BROKER_URL = "redis://10.10.0.112:6379/0"
|
||||||
CELERY_RESULT_BACKEND = "redis://redis:6379/0"
|
CELERY_RESULT_BACKEND = "redis://10.10.0.112:6379/0"
|
||||||
CELERY_ACCEPT_CONTENT = ["json"]
|
CELERY_ACCEPT_CONTENT = ["json"]
|
||||||
CELERY_TASK_SERIALIZER = "json"
|
CELERY_TASK_SERIALIZER = "json"
|
||||||
CELERY_RESULT_SERIALIZER = "json"
|
CELERY_RESULT_SERIALIZER = "json"
|
||||||
@@ -35,7 +35,7 @@ CELERY_TIMEZONE = "Europe/Moscow"
|
|||||||
CACHES = {
|
CACHES = {
|
||||||
"default": {
|
"default": {
|
||||||
"BACKEND": "django_redis.cache.RedisCache",
|
"BACKEND": "django_redis.cache.RedisCache",
|
||||||
"LOCATION": "redis://redis:6379/1",
|
"LOCATION": "redis://10.10.0.112:6379/1",
|
||||||
"OPTIONS": {
|
"OPTIONS": {
|
||||||
"CLIENT_CLASS": "django_redis.client.DefaultClient",
|
"CLIENT_CLASS": "django_redis.client.DefaultClient",
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user