Files
lingxi-web/.env.example
T

55 lines
1.9 KiB
Bash

# 必须生成新值,禁止提交真实密钥
LX_DB_PASSWORD=replace-with-strong-database-password
LX_JWT_SECRET=replace-with-at-least-32-random-characters
LX_WEB_PORT=8088
DEBIAN_MIRROR=https://deb.debian.org/debian
DEBIAN_SECURITY_MIRROR=https://deb.debian.org/debian-security
FFMPEG_BINARIES_URL=https://github.com/eugeneware/ffmpeg-static/releases/download
# DeepSeek Anthropic-compatible API
DEEPSEEK_API_KEY=replace-with-rotated-deepseek-key
DEEPSEEK_MODEL=deepseek-v4-flash
# 已部署的 Telegram Gateway 服务凭据
TELEGRAM_GATEWAY_URL=http://host.docker.internal:3000/api
TELEGRAM_GATEWAY_TOKEN=replace-with-gateway-jwt
TELEGRAM_GATEWAY_TENANT_ID=replace-with-gateway-tenant-id
TELEGRAM_GATEWAY_SERVICE_EMAIL=replace-with-gateway-service-email
TELEGRAM_GATEWAY_SERVICE_PASSWORD=replace-with-random-service-password
TELEGRAM_GATEWAY_ACCOUNT_ID=replace-with-default-account-id
TELEGRAM_WEBHOOK_SECRET=replace-with-random-webhook-secret
# 普通 WhatsApp 账户通过“关联设备”接入。两个值均至少 32 位且必须彼此不同。
WHATSAPP_GATEWAY_TOKEN=replace-with-at-least-32-random-characters
WHATSAPP_WEBHOOK_SECRET=replace-with-another-32-random-secret
WHATSAPP_LOG_LEVEL=info
# 可选。只影响 WhatsApp 网关出站,不设置系统或平台全局代理。
WHATSAPP_DEFAULT_PROXY_URL=
PUBLIC_WEBHOOK_BASE_URL=http://host.docker.internal:8088
APP_PUBLIC_URL=http://127.0.0.1:8088
# 真实团队邀请邮件
SMTP_HOST=
SMTP_PORT=587
SMTP_SECURE=false
SMTP_USER=
SMTP_PASSWORD=
SMTP_FROM=
# 企业邮箱渠道(IMAP 收信 + SMTP 发信)
# 建议使用 32 字节以上独立随机值;未配置时回退到 LX_JWT_SECRET 派生密钥。
EMAIL_CREDENTIAL_KEY=
EMAIL_POLL_MS=30000
MESSAGE_RECONCILE_MS=60000
WHATSAPP_GATEWAY_TIMEOUT_MS=30000
TELEGRAM_GATEWAY_TIMEOUT_MS=30000
# 真实 Stripe Checkout
STRIPE_SECRET_KEY=
STRIPE_WEBHOOK_SECRET=
STRIPE_PRICE_LITE=
STRIPE_PRICE_STANDARD=
STRIPE_PRICE_PRO=
STRIPE_PRICE_GROWTH=