Default redis configuration for docker setup

This commit is contained in:
Sava Georgiev
2026-01-11 21:19:56 +01:00
parent 99c65d2a5d
commit 9a25a53d18
2 changed files with 14 additions and 1 deletions

12
docker/conf/redis.conf Normal file
View File

@@ -0,0 +1,12 @@
# Set the maximum memory usage
maxmemory 2GB
# Evict old keys instead of growing
maxmemory-policy allkeys-lru
# Disable disk persistence
appendonly no
save ""
# Optional: reduce fragmentation
activedefrag yes