Add self-contained relay deployment project and operational guidance

This commit is contained in:
ex_tianzy
2026-10-27 17:51:43 +08:00
parent 011a7797ee
commit b774941890
49 changed files with 4454 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
# Copy to settings.env; never commit settings.env or .env.
# Change this to your own public HTTPS address (hostname or IP, no trailing slash).
HN_PUBLIC_URL=https://relay.example.invalid
# Private Work platform; change for another organization.
HN_FEISHU_API_BASE=https://open.w.cnooc.com.cn
HN_FEISHU_AUTHORIZE_URL=https://open.w.cnooc.com.cn/open-apis/authen/v1/authorize
HN_FEISHU_APP_ID=
HN_FEISHU_APP_SECRET=
HN_FEISHU_ENABLED=true
HN_OAUTH_ENABLED=true
# Scope names must also be enabled for your application and consented by each user.
HN_FEISHU_OAUTH_SCOPES=calendar:calendar calendar:calendar:readonly contact:contact.base:readonly contact:user:search wiki:wiki:readonly docx:document:readonly
HN_REQUEST_TIMEOUT=180
HN_LISTEN_ADDRESS=0.0.0.0
HN_HTTPS_PORT=443
COMPOSE_PROJECT_NAME=hainuo-relay
HN_IMAGE=hainuo-relay:deploy-20261027