mirror of
https://github.com/pupperpowell/bibdle.git
synced 2026-10-22 05:54:10 -04:00
46 lines
1.3 KiB
Bash
46 lines
1.3 KiB
Bash
DATABASE_URL=example.db
|
|
|
|
# Local-only admin bypass for testing /admin/stats without the real admin
|
|
# account. NEVER enable in production (it is also force-disabled when
|
|
# NODE_ENV=production).
|
|
# DEV_ADMIN_ALL=true
|
|
|
|
# Cron job secret for protected endpoints (e.g. send-daily-verse)
|
|
CRON_SECRET=your-cron-secret-here
|
|
|
|
# Discord webhook URL for posting the daily verse
|
|
DISCORD_DAILY_WEBHOOK=https://discord.com/api/webhooks/your-webhook-url
|
|
|
|
# Discord admin webhook for the daily statistics digest (optional; digest is skipped if unset)
|
|
DISCORD_ADMIN_WEBHOOK=https://discord.com/api/webhooks/your-admin-webhook-url
|
|
|
|
# Statistics thresholds (optional; these override the built-in defaults)
|
|
# STATS_CORE_PLAYS_PER_WEEK=4
|
|
# STATS_CHURN_DAYS=30
|
|
# STATS_D1_TARGET=20
|
|
# STATS_RETURN7_TARGET=25
|
|
# STATS_FIRST_TRY_MIN=15
|
|
# STATS_FIRST_TRY_MAX=35
|
|
|
|
PUBLIC_SITE_URL=https://bibdle.com
|
|
|
|
# nodemailer
|
|
SMTP_USERNAME=email@example.com
|
|
SMTP_TOKEN=TOKEN
|
|
SMTP_SERVER=smtp.example.com
|
|
SMTP_PORT=port
|
|
# note from mail provider: Enable TLS or SSL on the external service if it is supported.
|
|
|
|
# sign in with Discord
|
|
|
|
# sign in with google
|
|
|
|
# sign in with apple
|
|
AUTH_SECRET=your-random-secret-here
|
|
APPLE_ID=com.yourcompany.yourapp.client
|
|
APPLE_TEAM_ID=your-team-id
|
|
APPLE_KEY_ID=your-key-id
|
|
APPLE_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----
|
|
your-private-key-here
|
|
-----END PRIVATE KEY-----"
|