monitor-ai/.env.example

24 lines
563 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# monitor-ai 环境变量模板
NODE_ENV=production
DATABASE_PATH=/data/monitor.db
MONITOR_MODE=local
# OIDC SSO
AUTHELIA_URL=https://sso.tlyq.ai
OIDC_CLIENT_ID=monitor-oidc
OIDC_CLIENT_SECRET=<由部署脚本生成>
OIDC_REDIRECT_URI=https://monitor.tlyq.ai/api/auth/callback
# 共享 JWT与 OA/assets/issue 相同)
JWT_SECRET=<与全站一致>
COOKIE_DOMAIN=.tlyq.ai
# LLDAP
LDAP_URL=ldap://ldap-ai:3890
# localadmin 密码(首次部署时 openssl rand -hex 16 生成)
LOCALADMIN_PASSWORD=<生成>
# 自签名证书
NODE_TLS_REJECT_UNAUTHORIZED=0