fix settings

This commit is contained in:
alex 2019-10-29 08:26:52 +03:00
parent 4e868c2d8d
commit adcc43309b
2 changed files with 4 additions and 3 deletions

View File

@ -329,7 +329,8 @@ REDOC_SETTINGS = {
# RabbitMQ
# BROKER_URL = 'amqp://rabbitmq:5672'
# Redis
BROKER_URL = 'redis://redis:6379/1'
BROKER_URL = 'redis://localhost:6379/1'
# BROKER_URL = 'redis://redis:6379/1'
CELERY_RESULT_BACKEND = BROKER_URL
CELERY_BROKER_URL = BROKER_URL
CELERY_ACCEPT_CONTENT = ['application/json']

View File

@ -19,8 +19,8 @@ DOMAIN_URI = 'gm.id-east.ru'
# ELASTICSEARCH SETTINGS
ELASTICSEARCH_DSL = {
'default': {
# 'hosts': 'localhost:9200'
'hosts': 'elasticsearch:9200'
'hosts': 'localhost:9200'
# 'hosts': 'elasticsearch:9200'
}
}