Files
yawan-workbench/.env.production.example
T

21 lines
1023 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.
# 复制为 .env.production,权限设为 chmod 600;不要把真实密钥提交到代码仓库。
# 官方 iLink sidecar 地址(sidecar 默认监听 127.0.0.1:8765)
YAWAN_WECHAT_ADAPTER_URL=http://127.0.0.1:8765
# 微信 Bot 回调的全局兼容密钥(账号连接后会自动生成账号级密钥)
YAWAN_WECHAT_BOT_SECRET=
# 仅在使用旧版固定 Agent 回调时填写;页面连接会按账号绑定 Agent
YAWAN_WECHAT_AGENT_ID=
# AI 用量归属的系统用户 ID(可选)
YAWAN_WECHAT_USER_ID=
# 内容生产执行后端:
# inline = 工作台 API 进程内后台线程执行(默认/本地开发)
# dsh = 工作台只负责管理和入队,由独立 DSH Worker 执行拆解/生成/重做/组合。
YAWAN_EXECUTION_BACKEND=dsh
# 可选:固定 DSH 工作进程标识;不填则使用 主机名-PID-随机串。
YAWAN_DSH_WORKER_ID=
# DSH 拉取队列间隔与心跳(秒)。长任务会通过心跳续租。
YAWAN_DSH_POLL_SECONDS=2
YAWAN_DSH_HEARTBEAT_SECONDS=60
YAWAN_DSH_LOG_LEVEL=INFO