chore: establish development baseline

This commit is contained in:
2026-06-28 01:27:09 +08:00
commit dd53e3054e
131 changed files with 19327 additions and 0 deletions
+43
View File
@@ -0,0 +1,43 @@
# Redis 自定义配置
# 支持远程连接和持久化
# 绑定所有网络接口
bind 0.0.0.0
# 保护模式关闭(允许远程连接)
protected-mode no
# 端口
port 6379
# 密码认证
requirepass bat_dev_redis
# 持久化配置
appendonly yes
appendfilename "appendonly.aof"
# AOF 同步策略
appendfsync everysec
# RDB 快照
save 900 1
save 300 10
save 60 10000
# 数据库文件名
dbfilename dump.rdb
# 工作目录
dir /data
# 最大内存
maxmemory 512mb
maxmemory-policy allkeys-lru
# 日志级别
loglevel notice
# 慢查询日志
slowlog-log-slower-than 10000
slowlog-max-len 128