I第一次提交

This commit is contained in:
zhangzf1119
2025-12-13 23:00:09 +08:00
commit ac08a0b6ff
180 changed files with 28023 additions and 0 deletions

37
docker/redis/redis.conf Normal file
View File

@@ -0,0 +1,37 @@
# Redis配置文件 - 适用于Docker环境
# 网络配置
bind 0.0.0.0
port 6379
timeout 0
tcp-keepalive 300
# 内存管理
maxmemory 256mb
maxmemory-policy allkeys-lru
# 持久化
save 900 1
save 300 10
save 60 10000
# 日志
loglevel notice
logfile ""
# 安全
protected-mode no
requirepass ""
# 其他优化
tcp-backlog 511
databases 16
# AOF持久化
appendonly yes
appendfilename "appendonly.aof"
appendfsync everysec
# 慢日志
slowlog-log-slower-than 10000
slowlog-max-len 128