Files

18 lines
627 B
Bash

# Server only. Never put these secrets in Flutter, the APK, or source control.
SMTP_HOST=smtp.feishu.cn
SMTP_PORT=465
SMTP_TLS=ssl
SMTP_USERNAME=authors@glowtps.cn
SMTP_PASSWORD='REPLACE_WITH_FEISHU_MAIL_CLIENT_AUTHORIZATION_PASSWORD'
MAIL_FROM=authors@glowtps.cn
MAIL_TO=tps-david@glowtps.cn
# Generate once on the server, keep unchanged across container updates/restarts.
IDEMPOTENCY_SECRET='REPLACE_WITH_RANDOM_SECRET_AT_LEAST_32_BYTES'
DATABASE_PATH=/app/data/feedback.sqlite3
SMTP_TIMEOUT_SECONDS=15
RETENTION_DAYS=7
IP_REQUESTS_PER_HOUR=10
GLOBAL_REQUESTS_PER_HOUR=100
MAX_CONCURRENT_REQUESTS=4
UPLOAD_TIMEOUT_SECONDS=60