Files
smart-project-pricing/env.dev.example
2026-01-31 21:33:06 +08:00

47 lines
1.6 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 智能项目定价模型 - 开发环境配置
# 复制此文件为 .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