mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-11-23 20:11:12 +00:00
improve security; add redis authentication
This commit is contained in:
parent
ded229e84c
commit
6a27814f85
|
@ -57,7 +57,7 @@ session:
|
|||
host: authelia-redis
|
||||
port: 6379
|
||||
# This secret can also be set using the env variables AUTHELIA_SESSION_REDIS_PASSWORD_FILE
|
||||
# password: authelia
|
||||
password: SuperSecureRedisAuthPassword # must be the same as in the docker-compose.yml defined for the redis services
|
||||
|
||||
regulation:
|
||||
max_retries: 3
|
||||
|
|
|
@ -24,6 +24,7 @@ services:
|
|||
redis:
|
||||
image: redis:alpine
|
||||
container_name: authelia-redis
|
||||
command: redis-server --requirepass SuperSecureRedisAuthPassword # also reflect this in the authelia config file
|
||||
volumes:
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/authelia/redis:/data
|
||||
networks:
|
||||
|
|
Loading…
Reference in New Issue
Block a user