docs(deployment): add detailed tomorrow checklist for Steps 17-18 server setup
Some checks failed
Some checks failed
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -72,10 +72,20 @@ Complete step-by-step guide for deploying Orion on a Hetzner Cloud VPS.
|
||||
- **Step 17: Backups** — automated pg_dump scripts (daily + weekly rotation), R2 offsite upload, restore helper
|
||||
- **Step 18: Monitoring** — Prometheus, Grafana, node-exporter, cAdvisor added to docker-compose; `/metrics` endpoint activated via `prometheus_client`
|
||||
|
||||
**Next steps:**
|
||||
**Tomorrow — server-side setup (Steps 17-18):**
|
||||
|
||||
- [ ] Server-side: enable Hetzner backups, create R2 bucket, configure systemd timer
|
||||
- [ ] Server-side: add `grafana` DNS record, Caddyfile block, redeploy with `--profile full`
|
||||
- [ ] Enable Hetzner server backups (Cloud Console > Server > Backups)
|
||||
- [ ] Create Cloudflare account + R2 bucket `orion-backups` ([17.2](#172-cloudflare-r2-setup-offsite-backup-storage))
|
||||
- [ ] Install `awscli` on server, `aws configure --profile r2` with R2 credentials
|
||||
- [ ] Create backup dirs: `mkdir -p ~/backups/{orion,gitea}/{daily,weekly}`
|
||||
- [ ] Create + enable systemd timer for daily backups ([17.4](#174-systemd-timer-daily-at-0300))
|
||||
- [ ] Test backup: `bash ~/apps/orion/scripts/backup.sh`
|
||||
- [ ] Add `grafana` A + AAAA DNS records for `wizard.lu`
|
||||
- [ ] Add `grafana.wizard.lu` block to Caddyfile, reload Caddy ([18.2](#182-caddy-configuration))
|
||||
- [ ] Set `ENABLE_METRICS=true` + Grafana creds in production `.env` ([18.3](#183-production-environment))
|
||||
- [ ] Redeploy: `docker compose --profile full up -d --build`
|
||||
- [ ] Login to Grafana, change password, import dashboards #1860 + #193 ([18.5](#185-grafana-first-login))
|
||||
- [ ] Verify: `docker stats --no-stream` — check RAM fits in 4 GB, else rescale to CAX21
|
||||
|
||||
|
||||
## Installed Software Versions
|
||||
|
||||
Reference in New Issue
Block a user