2024-06-24 16:12:29 +02:00
|
|
|
## Server specs
|
2024-10-05 19:13:39 +02:00
|
|
|
Raspberry Pi 5 with a 120 GB SSD[^1] running latest Raspbian[^2]
|
2024-06-24 16:12:29 +02:00
|
|
|
|
|
|
|
## Setup
|
2025-03-02 10:05:02 +01:00
|
|
|
Everything is in a single [docker compose project](/git724/git724/src/branch/master/setup/docker-compose.yml):[^5]
|
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-06-24 16:12:29 +02:00
|
|
|
|
2024-09-15 10:49:03 +02:00
|
|
|
There's also a VPS:
|
2025-03-02 10:05:02 +01:00
|
|
|
- is a router / gateway
|
|
|
|
- is connected to the RPi by WireGuard[^4]
|
2024-09-15 10:31:39 +02:00
|
|
|
|
2024-06-24 16:12:29 +02:00
|
|
|
|
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
|
|
|
|
2025-03-07 18:37:49 +01:00
|
|
|
Total cost: raspberry pi + 17.80 yearly for the VPS
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
However, not everything is self-hosted:
|
|
|
|
|
|
|
|
Mail is from [MXroute](https://mxroute.com/) (US) \
|
|
|
|
DNS is ns1 (US) \
|
|
|
|
Registrar is Spaceship (US)
|
2024-10-05 19:13:39 +02:00
|
|
|
|
2025-03-02 10:05:02 +01:00
|
|
|
[^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
|