Initial commit: 智能项目定价模型

This commit is contained in:
kuzma
2026-01-31 21:33:06 +08:00
commit ef0824303f
174 changed files with 31705 additions and 0 deletions

46
env.dev.example Normal file
View File

@@ -0,0 +1,46 @@
# 智能项目定价模型 - 开发环境配置
# 复制此文件为 .env.dev
# ============================================================
# 应用配置
# ============================================================
APP_NAME=智能项目定价模型
APP_VERSION=1.0.0
APP_ENV=development
DEBUG=true
SECRET_KEY=dev-secret-key-not-for-production
# ============================================================
# 数据库配置
# ============================================================
DATABASE_URL=mysql+aiomysql://pricing_user:pricing123@pricing-mysql:3306/pricing_model?charset=utf8mb4
# MySQL 容器配置
MYSQL_ROOT_PASSWORD=root123
MYSQL_USER=pricing_user
MYSQL_PASSWORD=pricing123
# ============================================================
# 门户系统配置(开发环境可使用测试 Key
# ============================================================
PORTAL_CONFIG_API=http://portal-backend:8000/api/ai/internal/config
# ============================================================
# AI 服务配置
# ============================================================
AI_MODULE_CODE=pricing_model
# ============================================================
# 时区配置
# ============================================================
TIMEZONE=Asia/Shanghai
# ============================================================
# CORS 配置(开发环境允许所有源)
# ============================================================
CORS_ORIGINS=["*"]
# ============================================================
# API 配置
# ============================================================
API_V1_PREFIX=/api/v1