# Network bind 0.0.0.0 port 6379 protected-mode no # General daemonize no supervised no loglevel notice logfile "" # Persistence save 900 1 save 300 10 save 60 10000 stop-writes-on-bgsave-error yes rdbcompression yes rdbchecksum yes dbfilename dump.rdb dir /data # Memory management maxmemory 256mb maxmemory-policy allkeys-lru # Security (optional - add password protection) # requirepass your_secure_password # Performance tcp-keepalive 300 timeout 0 tcp-backlog 511