This commit is contained in:
mayunfei committed 2026-12-04 09:44:59 +08:00
commit 5f8428a318
1688 files changed
+39031

No files matched your search

+31
View File
@@ -0,0 +1,31 @@
# Copy to .env before docker compose up
# 生产分开部署、无源码:用 deploy/ 下的 compose + deploy/.env.example
# 镜像(有则直接 pull,不必在服务器 build)
GATEWAY_IMAGE=ghcr.io/kadxy/weixin-ilink-gateway:latest
RECORD_BOT_IMAGE=record-bot:local
# 必填:gateway 与 record-bot 共用
GATEWAY_API_KEY=change-me-openssl-rand-hex-16
# 对外端口(1Panel 可再做反向代理)
GATEWAY_PORT=29527
RECORD_BOT_PORT=5080
# 数据目录(相对 compose 工作目录,或写绝对路径如 /opt/wechatbot/data/...)
GATEWAY_DATA_DIR=./data/gateway
RECORD_DATA_DIR=./data/record-bot
# gateway → record-bot(同 compose 网络默认即可)
WEBHOOK_URLS=http://record-bot:8080/webhook/weixin
# 可选
RECORD_WEBHOOK_TOKEN=
GATEWAY_WEBHOOK_TOKEN=
MAX_DOWNLOAD_SIZE_MB=128
# 千问(聊天 / 意图)
LLM_ENABLED=true
LLM_API_KEY=
LLM_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
LLM_MODEL=qwen3.8-max