You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default celery then tries to connect to redis on localhost:6379. This is the default in settings.py for CACHES["default"]["LOCATION"] however in my case redis is in a separate container at redis:6379 specified using the environment variables NAUTOBOT_REDIS_HOST and NAUTOBOT_REDIS_PORT. I had to add:
Environment
In
nautobot_config.py
I have CACHES defined as:By default celery then tries to connect to redis on
localhost:6379
. This is the default insettings.py
forCACHES["default"]["LOCATION"]
however in my case redis is in a separate container atredis:6379
specified using the environment variablesNAUTOBOT_REDIS_HOST
andNAUTOBOT_REDIS_PORT
. I had to add:to
nautobot_config.py
after the declaration ofCACHES
to catch my change. I also found:environment variables in the nautobot repo in
development/dev.env
however I don't see a spot in Nautobot where these are actually used.Steps to Reproduce
Expected Behavior
Celery should connect to the redis host specified.
Observed Behavior
Celery attempts to connect to
localhost:6379
The text was updated successfully, but these errors were encountered: