Files
gochat/configs/redis.conf
T
2026-06-04 15:44:48 +08:00

31 lines
595 B
Plaintext

# GoChat Redis Configuration
# Reference: Chatwoot production Redis uses appendonly + maxmemory policies
# This file is for standalone Redis deployment; compose uses command-line flags
# ---- Persistence ----
appendonly yes
appendfsync everysec
auto-aof-rewrite-percentage 100
auto-aof-rewrite-min-size 64mb
# ---- Memory ----
maxmemory 512mb
maxmemory-policy allkeys-lru
# ---- Security ----
requirepass ${REDIS_PASSWORD}
# ---- Networking ----
bind 0.0.0.0
port 6379
timeout 300
# ---- Logging ----
loglevel notice
logfile ""
# ---- Performance ----
save 900 1
save 300 10
save 60 10000