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)
|
2025-03-08 16:45:47 +01:00
|
|
|
- acme.sh - 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
|
|
|
|
|
2025-03-08 16:45:47 +01:00
|
|
|
### Software
|
|
|
|
|
|
|
|
Software is generally updated as soon as a new version is available.
|
|
|
|
|
2025-03-15 12:19:21 +01:00
|
|
|
Unfortunately, [Forgejo is forked](https://git.m724.eu/Minecon724/forgejo) because some things in vanilla aren't to my liking. \
|
|
|
|
However, changes are minimal.
|
2025-03-08 16:45:47 +01:00
|
|
|
|
2025-03-07 18:37:49 +01:00
|
|
|
---
|
|
|
|
|
2025-03-07 19:14:03 +01:00
|
|
|
Related services:
|
2025-03-07 18:37:49 +01:00
|
|
|
|
2025-03-07 19:14:03 +01:00
|
|
|
- Nameserver: [deSEC](https://desec.io) (DE)
|
|
|
|
- Mail: [MXroute](https://mxroute.com/) (US)
|
2025-03-07 19:26:36 +01:00
|
|
|
- Registrar: [Spaceship](https://spaceship.com) (US) (planned move)
|
2024-10-05 19:13:39 +02:00
|
|
|
|
2025-03-07 19:14:03 +01:00
|
|
|
It may seem that the ideal solution is for everything to be domestic; however I need to cut costs at every possible step, so.
|
2025-03-07 18:38:29 +01: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
|