Files
rain_website/.env.example
T
rainyy21 5b1b9df29c compose: point AutoKuma at an external Kuma
KUMA_URL selects the Kuma AutoKuma manages (e.g. the one on Proxmox).
Monitors now use this host's LAN address (LAN_HOST) instead of compose
service names, which a Kuma outside this stack can't resolve; the
tracker is checked via Caddy at /api/health.

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

32 lines
1.1 KiB
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)
# KUMA_URL: the Kuma it manages, e.g. the one on Proxmox; LAN_HOST: this server's LAN IP
KUMA_URL=http://192.168.1.50:3001
LAN_HOST=192.168.50.63
KUMA_USERNAME=admin
KUMA_PASSWORD=