No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-07-24 21:04:07 +09:00
caddy feat: move to brancardoso.com 2026-07-24 16:02:18 +09:00
scripts refactor: remove systemd backup service/timer 2026-07-24 21:04:07 +09:00
.gitignore feat: add backup script and systemd service/timer 2026-07-24 16:02:18 +09:00
docker-compose.yaml feat: move to brancardoso.com 2026-07-24 16:02:18 +09:00
README.md refactor: remove systemd backup service/timer 2026-07-24 21:04:07 +09:00

infra

self-hosted forgejo + caddy on netcup vps domain: git.brancardoso.com

Services

  • forgejo -- git hosting, ports 3000 (internal) & 2222 SSH
  • caddy -- reverse proxy, TLS

Prerequisites

  • docker + compose
  • DNS A record
  • firewall ports open: 80, 443, 2222

Backups

Only manual for now. Streams forgejo dump over SSH from the VPS to local machine.

./scripts/forgejo-backup.sh

Restoring

  1. Unzip the dump
  2. Restore the SQL
  3. Copy repos/ and app.ini