一个面向 iPhone Shortcuts + 飞书多维表格的轻量 FastAPI webhook 桥接器。
1.2K
一个面向 iPhone Shortcuts + 飞书多维表格的轻量 FastAPI webhook 桥接器。
docker run -d \
--name feishu-webhook-booking \
--restart unless-stopped \
-p 2398:2398 \
-e FEISHU_ENV_FILE=/runtime/feishu-webhook.env \
-e FEISHU_TARGETS_FILE=/runtime/feishu-targets.toml \
-v ./runtime:/runtime:ro \
randallxia/feishu-webhook-booking:latest
services:
feishu-webhook-booking:
image: randallxia/feishu-webhook-booking:latest
container_name: feishu-webhook-booking
restart: unless-stopped
ports:
- "2398:2398"
environment:
FEISHU_ENV_FILE: /runtime/feishu-webhook.env
FEISHU_TARGETS_FILE: /runtime/feishu-targets.toml
volumes:
- ./runtime:/runtime:ro
将这里的两份 example 配置文件下载到你的挂载 runtime 目录下
建议通过环境变量或 FEISHU_ENV_FILE 做运行时配置。,密钥不进镜像。
年度账本切换时,只改外部配置并重启服务,不需要重新构建镜像。
必需:
可选:
兼容旧模式:
FEISHU_APP_TOKENFEISHU_TABLE_IDFEISHU_RECORD_ID如果你挂载了/runtime/feishu-webhook.env,但没有在容器环境变量里显式设置:
FEISHU_ENV_FILE=/runtime/feishu-webhook.env
那么容器启动时不会读取这个文件。
这时服务可能会退回旧兼容模式,并报错:
Missing required environment variable: FEISHU_APP_TOKEN
Content type
Image
Digest
sha256:bcedcc0f2…
Size
35.1 MB
Last updated
8 days ago
docker pull randallxia/feishu-webhook-booking