git724/SERVER.md

29 lines
1.1 KiB
Markdown
Raw Normal View History

## Server specs
2024-10-05 19:13:39 +02:00
Raspberry Pi 5 with a 120 GB SSD[^1] running latest Raspbian[^2]
## Setup
2024-10-05 19:13:39 +02:00
I can't tell you where it's hosted, other than it's in a closet[^3], but I can tell you how:
2025-01-21 12:49:22 +01:00
Basically there's a single docker compose file for the whole stack: (I'll probably move to podman next Debian release)
2024-09-15 10:49:03 +02:00
- forgejo - what you're looking at
2024-06-24 16:19:36 +02:00
- mariadb
2024-09-15 10:49:03 +02:00
- nginx - web server, it supports http3 (github doesn't)
- acme - renews ssl certificate
2024-09-15 10:49:03 +02:00
There's also a VPS:
2024-12-05 19:50:40 +01:00
- 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
2024-09-15 10:31:39 +02:00
2024-12-05 19:50:40 +01:00
Mail is [MXroute](https://mxroute.com/), but I also use it for other purposes, so it's free
2025-01-18 11:11:13 +01:00
Backups are done with a cron job every 3 days. Backups are encrypted locally with `gpg` and uploaded to a server.
2025-01-18 11:11:02 +01:00
2024-10-05 19:13:39 +02:00
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"
2024-12-05 19:50:40 +01:00
[^4]: Precisely the RPi connects to it because NAT
[^5]: about the same as github
2024-10-05 19:13:39 +02:00
[^6]: what github STILL doesn't have