Files
kami_apple_exchage/deploy/redis.conf
danial 48cdcb6140 feat: Add deployment scripts and configuration for Apple Gift Card Exchange Platform
- Create README.md for deployment instructions including environment requirements and setup steps.
- Implement deploy.sh script for automated deployment of development and production environments.
- Add combined Docker Compose configuration for frontend and backend services.
- Include Redis configuration file for optimized memory management and persistence.
- Update frontend Dockerfile to handle Next.js asset paths and static files.
- Remove obsolete deployment files and configurations from frontend directory.
2025-09-11 17:57:18 +08:00

42 lines
569 B
Plaintext

# Redis configuration for Apple Exchange Platform
# Basic settings
port 6379
bind 0.0.0.0
# Memory management
maxmemory 512mb
maxmemory-policy allkeys-lru
# Persistence
save 900 1
save 300 10
save 60 10000
# Security
protected-mode no
# Logging
loglevel notice
# Network
timeout 0
tcp-keepalive 300
# Clients
maxclients 10000
# Advanced config
rdbcompression yes
rdbchecksum yes
stop-writes-on-bgsave-error yes
# Lua scripting
lua-time-limit 5000
# Slow log
slowlog-log-slower-than 10000
slowlog-max-len 128
# Latency monitoring
latency-monitor-threshold 100