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.
37 lines
1.0 KiB
37 lines
1.0 KiB
# AmazingData 数据服务平台 - 环境变量配置
|
|
# 复制此文件为 .env 并修改相应配置
|
|
|
|
# ==================== 应用配置 ====================
|
|
APP_NAME=AmazingData Platform
|
|
APP_ENV=development
|
|
DEBUG=true
|
|
SECRET_KEY=your-secret-key-change-in-production
|
|
|
|
# ==================== 数据库配置 (MySQL) ====================
|
|
DB_HOST=localhost
|
|
DB_PORT=3306
|
|
DB_USER=root
|
|
DB_PASSWORD=root123
|
|
DB_NAME=amazingdata_platform
|
|
|
|
# ==================== AmazingData SDK 配置 ====================
|
|
AMAZING_DATA_USERNAME=11200008169
|
|
AMAZING_DATA_PASSWORD=11200008169@2026
|
|
AMAZING_DATA_HOST=140.206.44.234
|
|
AMAZING_DATA_PORT=8600
|
|
|
|
# ==================== 服务配置 ====================
|
|
BACKEND_HOST=0.0.0.0
|
|
BACKEND_PORT=8000
|
|
FRONTEND_PORT=3000
|
|
|
|
# ==================== 数据配置 ====================
|
|
DATA_SAVE_PATH=./data
|
|
REALTIME_SAVE_DAYS=7
|
|
CACHE_AUTO_SAVE_INTERVAL=60
|
|
MAX_CONCURRENT_TASKS=5
|
|
|
|
# ==================== JWT 配置 ====================
|
|
JWT_SECRET_KEY=your-jwt-secret-key
|
|
JWT_ALGORITHM=HS256
|
|
JWT_EXPIRE_MINUTES=1440 |