snappass icon indicating copy to clipboard operation
snappass copied to clipboard

Add environment variable REDIS_PASSWORD

Open mrolli opened this issue 2 months ago • 0 comments

This change allows to set a Redis password without the need to build up a whole REDIS_URL environment variable. The change is backward compatible as the default is set to "None", which is the default for redis.StrictRedis() according to the documentation.

With this change, deployment in a container app on Azure using a add-on Redis is then super simple as the env vars REDIS_HOST, REDIS_PORT and REDIS_PASSWORD are injected automatically by the platform.

Fixes #369

mrolli avatar Jun 12 '24 07:06 mrolli