15 lines
348 B
Plaintext
15 lines
348 B
Plaintext
# Redis 7.4 configuration for MTUCI Lab 3 (Shared 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
|