1
0

Authelia: add redis (valkey) as session storage

This commit is contained in:
2025-10-26 20:13:31 +03:00
parent 2c9ade0a8e
commit 86147d0103
3 changed files with 14 additions and 4 deletions

View File

@@ -895,9 +895,9 @@ session:
##
## Important: Kubernetes (or HA) users must read https://www.authelia.com/t/statelessness
##
# redis:
# host: '127.0.0.1'
# port: 6379
redis:
host: 'authelia_redis'
port: 6379
## Use a unix socket instead
# host: '/var/run/redis/redis.sock'

View File

@@ -7,9 +7,19 @@ services:
restart: 'unless-stopped'
networks:
- "web_proxy_network"
- "monitoring_network"
volumes:
- "{{ config_dir }}:/config"
authelia_redis:
image: valkey/valkey:9-alpine
container_name: authelia_redis
restart: unless-stopped
networks:
- "monitoring_network"
networks:
web_proxy_network:
external: true
monitoring_network:
external: true