mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-11 01:26:22 +01:00
Default redis configuration for docker setup
This commit is contained in:
12
docker/conf/redis.conf
Normal file
12
docker/conf/redis.conf
Normal 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
|
||||
Reference in New Issue
Block a user