git724/SERVER.md
2025-03-07 19:26:36 +01:00

1.1 KiB

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


Related services:

It may seem that the ideal solution is for everything to be domestic; however I need to cut costs at every possible step, so.


  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) ↩︎