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.
34 lines
657 B
34 lines
657 B
# 应用配置
|
|
DEBUG=false
|
|
APP_NAME=期货股票数据统一平台
|
|
APP_VERSION=1.0.0
|
|
|
|
# 安全配置
|
|
SECRET_KEY=your-secret-key-change-in-production
|
|
ALGORITHM=HS256
|
|
ACCESS_TOKEN_EXPIRE_MINUTES=60
|
|
REFRESH_TOKEN_EXPIRE_DAYS=7
|
|
|
|
# 数据库配置
|
|
TIMESCALE_DB_URL=postgresql://postgres:postgres@timescaledb:5432/kline_data
|
|
SQLITE_DB_PATH=/app/data/config.db
|
|
|
|
# Redis 配置
|
|
REDIS_URL=redis://redis:6379/0
|
|
REDIS_HOST=redis
|
|
REDIS_PORT=6379
|
|
|
|
# amazingData SDK 配置 (可选)
|
|
AMAZING_DATA_API_KEY=
|
|
AMAZING_DATA_SECRET=
|
|
AMAZING_DATA_ENV=simulation
|
|
|
|
# 日志配置
|
|
LOG_LEVEL=INFO
|
|
|
|
# 限流配置
|
|
RATE_LIMIT_PER_MINUTE=60
|
|
|
|
# WebSocket 配置
|
|
WS_HEARTBEAT_INTERVAL=30
|