Revert "Revert accidental docker->master merge"
This reverts commit db834b581e.
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ app.config_from_object('django.conf:settings', namespace='CELERY')
|
||||
app.autodiscover_tasks()
|
||||
|
||||
# Declare redis as broker
|
||||
app.conf.broker_url = 'redis://localhost:6379/0'
|
||||
app.conf.broker_url = f"redis://{os.environ.get('REDIS_HOST')}:6379/0"
|
||||
|
||||
|
||||
@app.task(bind=True)
|
||||
|
||||
Reference in New Issue
Block a user