Scout/deploy/scout.env.example
2026-08-31 00:06:06 +08:00

23 lines
784 B
Plaintext
Raw 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.

# 复制为 /etc/scout/scout.env,并替换所有占位符。
SCOUT_ENV=production
SCOUT_ADDR=127.0.0.1:8080
SCOUT_DATA_DIR=/var/lib/scout
SCOUT_PUBLIC_URL=https://packages.example.com
SCOUT_ALLOWED_ORIGINS=https://packages.example.com
SCOUT_ALLOWED_HOSTS=packages.example.com
SCOUT_FORCE_HTTPS=true
SCOUT_TRUST_PROXY=true
SCOUT_ALLOW_LEGACY_TOKEN=false
SCOUT_RATE_LIMIT_PER_MINUTE=120
SCOUT_SESSION_DURATION=24h
SCOUT_MAX_UPLOAD_BYTES=512MB
SCOUT_ADMIN_EMAIL=admin@example.com
SCOUT_ADMIN_NAME=系统管理员
SCOUT_ADMIN_PASSWORD=请替换为随机强密码
SCOUT_SMTP_HOST=smtp.example.com
SCOUT_SMTP_PORT=587
SCOUT_SMTP_USERNAME=请从密钥管理系统注入
SCOUT_SMTP_PASSWORD=请从密钥管理系统注入
SCOUT_SMTP_FROM=Scout <noreply@example.com>
SCOUT_SMTP_TLS=false