Compare commits

...

3 Commits

Author SHA1 Message Date
LRVT
6b9374dc8e
Update configuration.yml 2023-03-03 00:51:36 +01:00
LRVT
90aa21c8ed
Update configuration.yml
add 2FA support for Yubikey (webauthn)
2023-03-02 20:08:50 +01:00
L4RM4ND
6a27814f85 improve security; add redis authentication 2023-03-02 19:42:02 +01:00
2 changed files with 10 additions and 1 deletions

View File

@ -57,13 +57,21 @@ session:
host: authelia-redis host: authelia-redis
port: 6379 port: 6379
# This secret can also be set using the env variables AUTHELIA_SESSION_REDIS_PASSWORD_FILE # 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 service
regulation: regulation:
max_retries: 3 max_retries: 3
find_time: 120 find_time: 120
ban_time: 300 ban_time: 300
# yubikey support
webauthn:
disable: false
display_name: Authelia
attestation_conveyance_preference: indirect
user_verification: preferred
timeout: 60s
storage: storage:
encryption_key: a_very_important_secret # Now required encryption_key: a_very_important_secret # Now required
local: local:

View File

@ -24,6 +24,7 @@ services:
redis: redis:
image: redis:alpine image: redis:alpine
container_name: authelia-redis container_name: authelia-redis
command: redis-server --requirepass SuperSecureRedisAuthPassword # also reflect this in the authelia config file
volumes: volumes:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/authelia/redis:/data - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/authelia/redis:/data
networks: networks: