git724/SERVER.md
2025-01-21 12:49:22 +01:00

1.1 KiB

Server specs

Raspberry Pi 5 with a 120 GB SSD1 running latest Raspbian2

Setup

I can't tell you where it's hosted, other than it's in a closet3, but I can tell you how:

Basically there's a single docker compose file for the whole stack: (I'll probably move to podman next Debian release)

  • 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:

  • acts as router for both IPv64 and IPv4 (now that I'm paying for another one)
  • is connected to the RPi by WireGuard.5
  • limits network speed to 50 Mbps6 not right now

Mail is MXroute, but I also use it for other purposes, so it's free

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

Total cost: I just can't use the raspberry pi for fun stuff anymore


  1. sata adaptered to usb 3 ↩︎

  2. now known as uncool Raspberry Pi OS ↩︎

  3. at home if you didn't deduce that from "raspberry pi" ↩︎

  4. what github STILL doesn't have ↩︎

  5. Precisely the RPi connects to it because NAT ↩︎

  6. about the same as github ↩︎