Update SERVER.md

This commit is contained in:
Minecon724 2025-03-02 10:05:02 +01:00
parent 33ea7f79c3
commit 050ddc7623

View file

@ -2,28 +2,23 @@
Raspberry Pi 5 with a 120 GB SSD[^1] running latest Raspbian[^2]
## Setup
I can't tell you where it's hosted, other than it's in a closet[^3], 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)
Everything is in a single [docker compose project](/git724/git724/src/branch/master/setup/docker-compose.yml):[^5]
- 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 IPv6[^6] and IPv4 (now that I'm **paying for** another one)
- is connected to the RPi by WireGuard.[^4]
- ~~limits network speed to 50 Mbps~~[^5] not right now
- is a router / gateway
- is connected to the RPi by WireGuard[^4]
Mail is [MXroute](https://mxroute.com/), 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
Total cost: raspberry pi fun + 17.80 yearly for the VPS
[^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]: Precisely the RPi connects to it because NAT
[^5]: about the same as github
[^6]: what github STILL doesn't have
[^1]: SATA adaptered to USB 3
[^2]: No, it's Raspbian
[^4]: Precisely the RPi connects to it because NAT (also why it's necessary)
[^5]: I'll probably switch to podman next Debian release