2026-05-25 16:59:59 +08:00
|
|
|
|
# 飞书 + 数据库 + Redis(复制为 feishu.env;Docker 环境见 .env.example)
|
|
|
|
|
|
|
|
|
|
|
|
FEISHU_APP_ID=cli_xxxxxxxx
|
|
|
|
|
|
FEISHU_APP_SECRET=xxxxxxxxxxxxxxxx
|
|
|
|
|
|
FEISHU_REDIRECT_URI=http://127.0.0.1:8787/api/v1/auth/feishu/callback
|
|
|
|
|
|
AS_FRONTEND_URL=http://127.0.0.1:8787
|
|
|
|
|
|
AS_JWT_SECRET=请更换为随机长字符串
|
|
|
|
|
|
FEISHU_ADMIN_OPEN_IDS=
|
|
|
|
|
|
FEISHU_ADMIN_DEPARTMENT_IDS=
|
|
|
|
|
|
AS_DEV_AUTH=true
|
|
|
|
|
|
|
2026-06-03 11:40:21 +08:00
|
|
|
|
# ── 飞书多维表格(内网出站同步,见 docs/FEISHU_BITABLE_OPS.md)──
|
|
|
|
|
|
# 从多维表格 URL 获取:/base/<app_token> ?table=<table_id>
|
|
|
|
|
|
FEISHU_BITABLE_APP_TOKEN=
|
|
|
|
|
|
# 表在知识库时:wiki 链接 /wiki/<节点ID>?table= 的节点 ID
|
|
|
|
|
|
FEISHU_BITABLE_WIKI_NODE_TOKEN=
|
|
|
|
|
|
FEISHU_BITABLE_TABLE_ID=
|
|
|
|
|
|
FEISHU_BITABLE_SYNC_ENABLED=0
|
|
|
|
|
|
FEISHU_BITABLE_SYNC_INTERVAL_SEC=120
|
|
|
|
|
|
FEISHU_BITABLE_AUTO_INGEST=0
|
|
|
|
|
|
FEISHU_BITABLE_WEBHOOK_ENABLED=0
|
|
|
|
|
|
FEISHU_LABELING_CHAT_ID=
|
|
|
|
|
|
# 列名与飞书表不一致时可覆盖,默认中文列名见 FEISHU_BITABLE_OPS.md
|
|
|
|
|
|
# FEISHU_BITABLE_FIELD_BATCH_NAME=批次名
|
|
|
|
|
|
|
2026-05-25 16:59:59 +08:00
|
|
|
|
# 本机 run_server.sh
|
|
|
|
|
|
AS_DB_HOST=127.0.0.1
|
|
|
|
|
|
AS_DB_PORT=5432
|
|
|
|
|
|
AS_DB_USER=as_platform
|
|
|
|
|
|
AS_DB_PASSWORD=as_platform
|
|
|
|
|
|
AS_DB_NAME=as_platform
|
|
|
|
|
|
AS_REDIS_URL=redis://127.0.0.1:6379/0
|
|
|
|
|
|
AS_JOB_EXECUTOR=thread
|
|
|
|
|
|
|
|
|
|
|
|
# Docker Compose 会覆盖为 postgres/redis 服务名,见 docker-compose.yml
|