Files
rain_website/.env.example
T
2026-10-05 21:55:57 -04:00

25 lines
833 B
Bash

# Public site
SITE_ADDRESS=links.example.com
SITE_HOST=links.example.com
# Database (use letters and digits only in passwords; they go into URLs and SQL)
POSTGRES_USER=rainhub
POSTGRES_PASSWORD=change-me-admin
POSTGRES_DB=rainhub
TRACKER_PASSWORD=change-me-tracker
STATS_RO_PASSWORD=change-me-readonly
TRACKER_SECRET=long-random-string
# Where Postgres listens for read-only access over WireGuard: your WireGuard address on this server
PG_BIND=10.8.0.1:5432
# Uptime Kuma UI (WireGuard address or localhost)
KUMA_BIND=127.0.0.1:3001
# Nightly pg_dump at 03:00, copied here with rsync over SSH (key goes in ./backup-ssh/id_ed25519)
BACKUP_TARGET=user@backup-host:/srv/backups/rain-hub
BACKUP_PORT=22
# Optional Uptime Kuma push monitors (create them in the Kuma UI, paste the push URLs)
KUMA_BACKUP_PUSH_URL=
KUMA_LINKS_PUSH_URL=