Primary references
.env.example(template)- README “Configuration” + “Authentication”
Core variables
DATABASE_URL(required): SQLite database file path (e.g../database.db)AUTH_TOKENS(recommended): comma-separated bearer tokensAUTH_TOKEN(legacy): single bearer tokenBASE_URL(recommended): base URL used when constructing short links
Security-sensitive settings
SECURE_COOKIES=truein production behind HTTPS.ALLOWED_ORIGINS: set explicit origins in production.METRICS_AUTH_ENABLED=trueif/metricsshould not be public.
微信扫一扫