git724/SERVER.md
2025-03-07 18:38:29 +01:00

950 B

Server specs

Raspberry Pi 5 with a 120 GB SSD1 running latest Raspbian2

Setup

Everything is in a single docker compose project:3

  • forgejo - what you're looking at
  • mariadb
  • nginx - web server, it supports http3 (github doesn't)
  • acme - renews ssl certificate

There's also a VPS:

  • is a router / gateway
  • is connected to the RPi by WireGuard4

Backups are done with a cron job every 3 days. Backups are encrypted locally with gpg and uploaded to a server.

Total cost: raspberry pi + 17.80 yearly for the VPS


However, not everything is within EU:

Mail is from MXroute (US)
DNS is ns1 (US)
Registrar is Spaceship (US)

The plan is to move.


  1. SATA adaptered to USB 3 ↩︎

  2. No, it's Raspbian ↩︎

  3. I'll probably switch to podman next Debian release ↩︎

  4. Precisely the RPi connects to it because NAT (also why it's necessary) ↩︎