first commit
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
# ===== 服务配置 =====
|
||||
PORT=3000
|
||||
NODE_ENV=production
|
||||
# 管理后台密码(首次部署务必修改)
|
||||
ADMIN_PASSWORD=change-me-to-strong-password
|
||||
|
||||
# ===== 飞书配置 =====
|
||||
# 在飞书开放平台创建企业自建应用后获取
|
||||
FEISHU_APP_ID=cli_xxxxxxxxxxxx
|
||||
FEISHU_APP_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
# 事件订阅的 Verification Token 和 Encrypt Key
|
||||
FEISHU_VERIFICATION_TOKEN=xxxxxxxxxxxxxxxx
|
||||
FEISHU_ENCRYPT_KEY=
|
||||
# 飞书审批定义code(在飞书管理后台查看)
|
||||
FEISHU_APPROVAL_FILE_IN=approval-code-file-in
|
||||
FEISHU_APPROVAL_FILE_OUT=approval-code-file-out
|
||||
FEISHU_APPROVAL_GROUP_PERM=approval-code-group-perm
|
||||
# 告警通知群 webhook(群机器人)
|
||||
FEISHU_ALERT_WEBHOOK=https://open.feishu.cn/open-apis/bot/v2/hook/xxxxxxxx
|
||||
|
||||
# ===== 群晖 NAS 配置 =====
|
||||
SYNOLOGY_HOST=https://192.168.1.100:5001
|
||||
SYNOLOGY_USERNAME=admin
|
||||
SYNOLOGY_PASSWORD=your-nas-password
|
||||
# 是否跳过TLS证书验证(自签证书时设为true)
|
||||
SYNOLOGY_SKIP_TLS=true
|
||||
|
||||
# ===== JumpServer 配置 =====
|
||||
JUMPSERVER_HOST=https://jumpserver.yourcompany.com
|
||||
JUMPSERVER_KEY_ID=your-key-id
|
||||
JUMPSERVER_KEY_SECRET=your-key-secret
|
||||
# ic1 资产的 asset_id(在JumpServer控制台查看)
|
||||
JUMPSERVER_ASSET_IC1=asset-id-of-ic1
|
||||
# 系统用户(用于连接ic1的账号)
|
||||
JUMPSERVER_SYSTEM_USER=root
|
||||
|
||||
# ===== Nextcloud 配置 =====
|
||||
NEXTCLOUD_HOST=https://nextcloud.yourcompany.com
|
||||
NEXTCLOUD_USERNAME=automation
|
||||
NEXTCLOUD_PASSWORD=your-nextcloud-password
|
||||
# 共享默认权限(1=读, 15=读写删, 17=读+分享)
|
||||
NEXTCLOUD_SHARE_PERMISSIONS=1
|
||||
|
||||
# ===== 安全配置 =====
|
||||
# 白名单目录(逗号分隔)
|
||||
WHITELIST_DIRS=/IN_R,/OUT_R,/OUT,/wingsemi,/WCPS-Files,/OUT-RED
|
||||
# 操作日志保留天数
|
||||
LOG_RETENTION_DAYS=30
|
||||
Reference in New Issue
Block a user