feat: Add complete Redis cache example with multi-container pod and web interface
This commit is contained in:
43
examples/redis-cache/redis.conf
Normal file
43
examples/redis-cache/redis.conf
Normal file
@@ -0,0 +1,43 @@
|
||||
# Redis Configuration for MyceliumCloud Example
|
||||
# This is a minimal configuration for learning Redis
|
||||
|
||||
# Network
|
||||
bind 0.0.0.0
|
||||
port 6379
|
||||
|
||||
# Security
|
||||
protected-mode no
|
||||
|
||||
# Memory Management
|
||||
maxmemory 64mb
|
||||
maxmemory-policy allkeys-lru
|
||||
|
||||
# Persistence (Disabled for simpler learning)
|
||||
save 900 1
|
||||
save 300 10
|
||||
save 60 10000
|
||||
appendonly no
|
||||
|
||||
# Logging
|
||||
loglevel notice
|
||||
logfile ""
|
||||
|
||||
# General
|
||||
daemonize no
|
||||
supervised no
|
||||
pidfile /var/run/redis_6379.pid
|
||||
|
||||
# Slow Log
|
||||
slowlog-log-slower-than 10000
|
||||
slowlog-max-len 128
|
||||
|
||||
# Client Output Buffer Limits
|
||||
client-output-buffer-limit normal 0 0 0
|
||||
client-output-buffer-limit replica 256mb 64mb 60
|
||||
client-output-buffer-limit pubsub 32mb 8mb 60
|
||||
|
||||
# AOF Rewrite Incremental Fsync
|
||||
aof-rewrite-incremental-fsync yes
|
||||
|
||||
# RDB Save Incremental Fsync
|
||||
rdb-save-incremental-fsync yes
|
||||
Reference in New Issue
Block a user