Files
mtusi2026lab2/infra/redis.conf
T
2026-11-03 13:30:21 +03:00

15 lines
341 B
Plaintext

# Redis 7.4 configuration for MTUCI Lab 2 (Sessions + History Cache)
bind 0.0.0.0
port 6379
protected-mode no
# Durable persistence (AOF + RDB snapshot) so cached sessions survive container restarts
appendonly yes
appendfilename "appendonly.aof"
appendfsync everysec
save 60 1
# Memory limits
maxmemory 128mb
maxmemory-policy volatile-lru