This commit is contained in:
36
redis.conf
Normal file
36
redis.conf
Normal file
@@ -0,0 +1,36 @@
|
||||
#######################################
|
||||
# Netzwerk
|
||||
#######################################
|
||||
bind 0.0.0.0
|
||||
protected-mode no
|
||||
port 6379
|
||||
|
||||
#######################################
|
||||
# Laufzeit (Container-freundlich)
|
||||
#######################################
|
||||
daemonize no
|
||||
pidfile /var/run/redis.pid
|
||||
logfile ""
|
||||
|
||||
#######################################
|
||||
# Speicherort für alle persistenten Dateien
|
||||
#######################################
|
||||
dir /data
|
||||
|
||||
#######################################
|
||||
# AOF-Persistenz (empfohlen für moderne Redis-Setups)
|
||||
#######################################
|
||||
appendonly yes
|
||||
appendfilename "appendonly.aof"
|
||||
# automatische AOF-Rewrite-Grenzen (Defaults sind OK, hier explizit)
|
||||
auto-aof-rewrite-percentage 100
|
||||
auto-aof-rewrite-min-size 64mb
|
||||
|
||||
#######################################
|
||||
# RDB-Snapshots (optional, ergänzen Defaults)
|
||||
#######################################
|
||||
save 900 1
|
||||
save 300 10
|
||||
save 60 10000
|
||||
dbfilename dump.rdb
|
||||
notify-keyspace-events K$
|
Reference in New Issue
Block a user