git724/SERVER.md
2025-03-08 16:45:47 +01:00

1.3 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.sh - 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

Software

Software is generally updated as soon as a new version is available.

We run vanilla versions, forking is not done, because it's not needed.
However, if ever happens a need for a fork, it will be done.


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