When provisioning a Redis One Click App, CapRover setsREDIS_PASSWORD and passes it as CMD exec redis-server --requirepass "$$cap_redis_password". This should work in theory but when I tried to provison a new app with the redis:7.0.5 tag it did not actually set a password for the Redis instance.
I had better luck with bitnami/redis image which does support REDIS_PASSWORD right out of the box.
When provisioning a Redis One Click App, CapRover sets
REDIS_PASSWORD
and passes it asCMD exec redis-server --requirepass "$$cap_redis_password"
. This should work in theory but when I tried to provison a new app with theredis:7.0.5
tag it did not actually set a password for the Redis instance.I had better luck with
bitnami/redis
image which does supportREDIS_PASSWORD
right out of the box.