mirror of
https://git.oceanpay.cc/danial/kami_apple_exchage.git
synced 2025-12-18 22:29:09 +00:00
- 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.
42 lines
569 B
Plaintext
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 |