33 lines
441 B
Plaintext
33 lines
441 B
Plaintext
# Redis configuration for BCards
|
|
|
|
# Network
|
|
bind 0.0.0.0
|
|
port 6379
|
|
protected-mode no
|
|
|
|
# General
|
|
daemonize no
|
|
pidfile /var/run/redis_6379.pid
|
|
loglevel notice
|
|
logfile ""
|
|
|
|
# Memory
|
|
maxmemory 256mb
|
|
maxmemory-policy allkeys-lru
|
|
|
|
# Persistence
|
|
save 900 1
|
|
save 300 10
|
|
save 60 10000
|
|
|
|
# Security
|
|
# requirepass bcards123
|
|
|
|
# Performance
|
|
tcp-keepalive 300
|
|
timeout 0
|
|
|
|
# Append only mode
|
|
appendonly yes
|
|
appendfilename "appendonly.aof"
|
|
appendfsync everysec |