Files
web/server/.env.example

15 lines
776 B
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 后按需修改(一键脚本会在缺失时自动复制)
# 本地开发:先启动 MongoDB改为 mongodb://localhost:27017
# Docker 部署:保持 mongodb://mongo:27017compose 服务名)
MONGODB_URI=mongodb://mongo:27017
MONGODB_DB=yxd-agent-testing
PORT=8088
GIN_MODE=release
# 对外域名CORS、日志与 nginx 反代域名一致(官网 https://yuheng.yuxindazhineng.com/
ALLOWED_ORIGINS=https://yuheng.yuxindazhineng.com
# 部署时自动导入「视频发布」到 data/uploads + site_assetspull-and-restart / restart 在 compose up 后执行)
# 官网站点 MongoDB _id与 /api/web/routes 的 site_id 一致);私人仓库已填官网默认值,多站请改
YH_IMPORT_PROMOTION_SITE_ID=69ba1f1f41aeb82acfd609ef