Files
rain_website/.env.example
T
rainyy21 ace639179a compose: add AutoKuma and monitor labels
AutoKuma reads kuma.* labels from containers on this Docker host and
creates the matching Uptime Kuma monitors (web, public site, tracker).
Needs KUMA_USERNAME / KUMA_PASSWORD in .env.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 11:53:25 -05:00

29 lines
961 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=
# AutoKuma (auto-creates Kuma monitors from kuma.* container labels): your Kuma admin login
KUMA_USERNAME=admin
KUMA_PASSWORD=