28 lines
1.1 KiB
Plaintext
28 lines
1.1 KiB
Plaintext
# Optional shared defaults. Values in the selected environment file override these.
|
|
DATABASE_PATH=./data/minabot.sqlite
|
|
PORT=3000
|
|
|
|
# Discord Developer Portal > OAuth2. Register both redirect URIs:
|
|
# http://127.0.0.1:3000/api/auth/discord/callback
|
|
# https://YOUR_PRODUCTION_HOST/api/auth/discord/callback
|
|
# Credentials may be shared here or set separately in each environment file.
|
|
DISCORD_CLIENT_ID=
|
|
DISCORD_CLIENT_SECRET=
|
|
# Generate once: openssl rand -hex 32 (at least 32 characters required)
|
|
AUTH_COOKIE_SECRET=
|
|
# Bot-powered progress sharing. Invite the bot to the server and grant it
|
|
# View Channel, Send Messages, and Attach Files in this channel.
|
|
DISCORD_BOT_TOKEN=
|
|
DISCORD_SHARING_CHANNEL_ID=
|
|
# Optional comma-separated Discord user IDs permitted to post. Empty permits all accounts.
|
|
DISCORD_SHARING_ALLOWED_USER_IDS=
|
|
# Production snapshots, plus a snapshot before migrations. Paths resolve beside DATABASE_PATH.
|
|
BACKUP_ENABLED=true
|
|
BACKUP_DIR=backups
|
|
BACKUP_INTERVAL_HOURS=24
|
|
BACKUP_RETAIN=7
|
|
# Existing mounted off-machine backup directory (absolute path recommended).
|
|
BACKUP_REPLICA_DIR=
|
|
# Optional public HTTPS health URL for the independent monitor.
|
|
MONITOR_URL=
|