diff --git a/Squest/settings.py b/Squest/settings.py index fa4cf4315..636da8377 100644 --- a/Squest/settings.py +++ b/Squest/settings.py @@ -255,7 +255,7 @@ # ----------------------------------------- # CELERY CONFIG # ----------------------------------------- -CELERY_BROKER_URL = os.environ.get('CELERY_BROKER_URL', 'amqp://rabbitmq:rabbitmq@localhost:5672/squest') +CELERY_BROKER_URL = os.environ.get('CELERY_BROKER_URL', 'amqp://rabbitmq:rabbitmq@rabbitmq:5672/squest') print(f"CELERY_BROKER_URL: {CELERY_BROKER_URL}") # Add a five-minutes timeout to all Celery tasks. CELERY_TASK_SOFT_TIME_LIMIT = int(os.environ.get('CELERY_TASK_SOFT_TIME_LIMIT', 300)) diff --git a/docker/environment_variables/squest.env b/docker/environment_variables/squest.env index 4b6afbaf8..8191c574d 100644 --- a/docker/environment_variables/squest.env +++ b/docker/environment_variables/squest.env @@ -4,9 +4,6 @@ DB_HOST=db DB_PORT=3306 # DB_PORT=5432 # for psql -## celery -CELERY_BROKER_URL=amqp://rabbitmq:rabbitmq@rabbitmq:5672/squest - ## redis REDIS_CACHE_HOST=redis-cache