Files
myhome-server/config/redis.conf
Hyungi Ahn 4b77086bb2 초기 홈 관리 시스템 API 구현
- Express.js 기반 백엔드 API 서버
- MariaDB, Redis, phpMyAdmin Docker 환경
- Device 관리 기본 CRUD 구현
- Mac Mini M4 Pro 전용 설정 및 배포 스크립트
- 자동화된 설치 및 배포 시스템
- 완전한 문서화 및 실행 가이드
2025-07-30 14:12:09 +09:00

52 lines
922 B
Plaintext

# Redis 기본 설정
bind 0.0.0.0
port 6379
timeout 300
tcp-keepalive 60
# 메모리 설정
maxmemory 512mb
maxmemory-policy allkeys-lru
# 스냅샷 설정
save 900 1
save 300 10
save 60 10000
# 로그 설정
loglevel notice
logfile ""
# 데이터베이스 설정
databases 16
# AOF 설정
appendonly yes
appendfsync everysec
no-appendfsync-on-rewrite no
auto-aof-rewrite-percentage 100
auto-aof-rewrite-min-size 64mb
# 슬로우 로그
slowlog-log-slower-than 10000
slowlog-max-len 128
# 클라이언트 연결 설정
tcp-backlog 511
timeout 0
tcp-keepalive 300
# 보안 설정 (개발환경)
# requirepass your-redis-password
# 기타 최적화
hash-max-ziplist-entries 512
hash-max-ziplist-value 64
list-max-ziplist-size -2
list-compress-depth 0
set-max-intset-entries 512
zset-max-ziplist-entries 128
zset-max-ziplist-value 64
hll-sparse-max-bytes 3000
stream-node-max-bytes 4096
stream-node-max-entries 100