feat: support for Redis sentinel (#1301)

closes: #925
This commit is contained in:
Abhishek
2020-10-03 17:54:33 +08:00
committed by GitHub
parent db4997c07f
commit 807f79ef5d
2 changed files with 21 additions and 1 deletions

View File

@@ -22,6 +22,11 @@ REDIS_URL=redis://redis:6379
# which will be the password for the redis service running inside the docker-compose
# to make it secure
REDIS_PASSWORD=
# Redis Sentinel can be used by passing list of sentinel host and ports e,g. sentinel_host1:port1,sentinel_host2:port2
REDIS_SENTINELS=
# Redis sentinel master name is required when using sentinel, default value is "mymaster".
# You can find list of master using "SENTINEL masters" command
REDIS_SENTINEL_MASTER_NAME=
# Postgres Database config variables
POSTGRES_HOST=postgres