Add REDIS_HOST and REDIS_PORT to celery configuration documentation

This commit is contained in:
Mathias Petermann 2020-09-22 14:48:40 +02:00
parent 531e5c0d00
commit 9f66c18e71
1 changed files with 3 additions and 0 deletions

View File

@ -390,6 +390,9 @@ Here are the Celery configuration variables that should be set::
CELERY_IMPORTS = ('lemur.common.celery')
CELERY_TIMEZONE = 'UTC'
REDIS_HOST="your_redis_url"
REDIS_PORT="6379"
Do not forget to import crontab module in your configuration file::
from celery.task.schedules import crontab