Files
SCGL/.env.example

12 lines
456 B
Plaintext

# 前端 API 地址
VITE_API_BASE_URL=http://localhost:8000/api
# 库存数据库配置(只读)
DATABASE_URL_INVENTORY=postgresql://pms_user:pms_pass@localhost:5432/inventory_db
# PMS 数据库配置(可读写)
DATABASE_URL_PMS=postgresql://pms_user:pms_pass@localhost:5432/pms_db
# 兼容旧的单数据库配置(如果设置则优先使用,覆盖上述两个配置)
# DATABASE_URL=postgresql://pms_user:pms_pass@localhost:5432/single_db