Files
hotel-datagram-boar/dashboard/backend/.env.example
T
2026-10-24 19:23:03 +08:00

28 lines
1.5 KiB
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.
# ────────────────────────────────────────────────────────────────────────
# 后端环境配置模板:复制为 backend/.env 并填写真实密码
# Windows: copy backend\.env.example backend\.env
# Linux: cp backend/.env.example backend/.env
# .env 含数据库密码,不要提交到仓库、不要外传
# ────────────────────────────────────────────────────────────────────────
# 主库(只读):mt_hotel(hotel_task / hotel_json)、area_crood(area_info)
# 密码中的特殊字符需 URL 编码:@ → %40、! → %21、# → %23
MAIN_DB_URL=mysql+aiomysql://root:密码@183.6.7.91:33016/mt_hotel?charset=utf8mb4
# 抓包库(仅可写 hotel_hd 的 city / prox / is_ok)
HEADERS_DB_URL=mysql+aiomysql://root:密码@192.168.5.2:3307/headers_project?charset=utf8mb4
# 埋点与审计日志目录(相对 backend/ 解析;../../logs 指向 酒店/logs)
LOG_DIR=../../logs
# 前端开发源(多源用英文逗号分隔)
CORS_ORIGINS=http://localhost:5175,http://127.0.0.1:5175
# 任务平台 OpenAPI(只读接口)
HOTEL_PLATFORM_BASE=http://ktl-001.dsfdl-henan.xyz/openApi
HOTEL_PLATFORM_USER=thzn-datagram0001
HOTEL_PLATFORM_PWD=密码
HOTEL_PLATFORM_VENDOR=mt-datagram
HOTEL_PLATFORM_TIMEOUT=12
HOTEL_PLATFORM_CACHE=60