You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
# ============================================
|
|
|
|
|
|
# A股智投分析平台 - Docker 环境配置
|
|
|
|
|
|
# ============================================
|
|
|
|
|
|
|
|
|
|
|
|
# 服务器配置
|
|
|
|
|
|
PORT=3000
|
|
|
|
|
|
NODE_ENV=production
|
|
|
|
|
|
|
|
|
|
|
|
# 数据库配置(Docker 内部网络)
|
|
|
|
|
|
DATABASE_URL=mysql://root:1qazse42W3@mysql:3306/aguzhitou
|
|
|
|
|
|
|
|
|
|
|
|
# Redis配置(Docker 内部网络)
|
|
|
|
|
|
REDIS_URL=redis://redis:6379
|
|
|
|
|
|
|
|
|
|
|
|
# JWT配置
|
|
|
|
|
|
JWT_SECRET=aguzhitou-docker-secret-key-2024-prod-only-min-32-characters
|
|
|
|
|
|
JWT_EXPIRES_IN=7d
|
|
|
|
|
|
|
|
|
|
|
|
# AKShare配置
|
|
|
|
|
|
AKSHARE_URL=http://akshare:8000
|
|
|
|
|
|
|
|
|
|
|
|
# 日志配置
|
|
|
|
|
|
LOG_LEVEL=info
|
|
|
|
|
|
LOG_DIR=./logs
|
|
|
|
|
|
|
|
|
|
|
|
# 限流配置
|
|
|
|
|
|
RATE_LIMIT_WINDOW_MS=60000
|
|
|
|
|
|
RATE_LIMIT_MAX_REQUESTS=100
|