Files
track/backend/.env
duxingchen 17105dc9c2 初始提交:项目基础结构
- backend: FastAPI 后端服务 (Python)
- frontend: React + Tauri 前端应用
- docker-compose.yml: 容器编排配置
2026-08-04 10:05:59 +08:00

14 lines
649 B
Bash
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.

# ============================================================
# 生产流转管理系统 — 后端环境变量
# 测试环境局域网 IP: 192.168.9.80
# 数据库: PostgreSQL 15 + pgvector (独立容器, 端口 5433)
# ============================================================
DATABASE_URL=postgresql+asyncpg://track:track_prod_2026@localhost:5433/track_production
SECRET_KEY=change-me-to-a-random-secret-key-in-production
ACCESS_TOKEN_EXPIRE_MINUTES=30
DEBUG=true
# 跨域白名单JSON 数组格式,供 pydantic 解析)
CORS_ORIGINS='["http://localhost:1420", "tauri://localhost", "http://192.168.9.80:1420", "http://192.168.9.80"]'