ACCOUNTS_SESSION_REDIS_URL=redis://cache:6379/1"
CACHE_REDIS_URL=redis://cache:6379/0
CACHE_TYPE=redis
CELERY_RESULT_BACKEND=redis://cache:6379/2
it is configured as given above in .yml file for docker
the configuration in flask app is given below
CACHE_KEY_PREFIX = "cache::"
#: Host
CACHE_REDIS_HOST = "localhost"
#: Port
CACHE_REDIS_PORT = 6379
#: DB
CACHE_REDIS_DB = 0
#: URL of Redis db.
CACHE_REDIS_URL = "redis://{0}:{1}/{2}".format(
CACHE_REDIS_HOST, CACHE_REDIS_PORT, CACHE_REDIS_DB)
#: Default cache type.
CACHE_TYPE = "redis"
i am unable to find out what is causing this error.