Ask HN: What's on your home server?
519 pointsIt's been years (over a decade?) since I've had a server at home but I'm setting one up for media and I got to thinking: what else should I do with this box? So I was wondering what cool/nerdy/weird stuff you all are using home servers for. DNS and file sharing seem like obvious applications I could set up. I already run email and web on a VPS so that's taken care of. What are you doing with your home server?
Comments (456) 205 threads
Earlier commentsFor this I use an encrypted ZFS mirror running on Ubuntu. The board is a power saving ASRock J4105M with soldered low power CPU.
For each HDD I use an dedicated SATA controller for controller redundancy.
The computer itself is secured with a real steel lock against (too easy) theft!
The database backups from the internet server are coming in incrementally with ZFS snapshots. I love this!
One is a vpn router and a wifi AP, it also has Uptime Kuma. I need this to be reliable and rarely touch it except to improve its reliability. - Openvpn - HostAPD - Uptime Kuma (in docker) - A microservice invoked from Uptime Kuma that monitors connectivity to my ISPs router (in docker) - nginx, not in docker, reverse proxies to Uptime Kuma
The second acts as a NAS and has a RAID array, consisting of disks plugged into a powered USB hub. It runs OpenMediaVault and as many network sharing services as I can set up. I also want maximum reliability/availability from this pi, so rarely touch it. All the storage for all my services is hosted here, or backed up to here in the case of databases that need to be faster.
The third rpi runs all the rest of my services. All the web apps are dockerized. Those that need a DB also have their DB hosted. Those that need file storage are using kerberized NFS from my NAS. This rpi is also another wifi AP. This rpi keeps running out of RAM and crashing and I plan to scale it when rpis become cheaper or I can repair some old laptops.: - Postgres - HostAPD - nginx - Nextcloud - Keycloak - Heimdall - Jellyfin - N8N - Firefly-iii - Grist - A persistent reverse SSH tunnel to a small VM in the cloud to make some services public - A microservice needed for one of my hobbies - A monitoring service for my backups
All of these pis are provisioned via Ansible.
I used to use a single RP to run as a media server, and it was great, but stopped using it after suffering from SD card corruption.
https://www.raspberrypi.com/documentation/computers/raspberr...
You can also network boot as well:
https://www.raspberrypi.com/documentation/computers/raspberr...
Performance proved to be an issue for SD cards though, when attempting to host nextcloud and postgres. I do what teh_klev is talking about and selected the fastest USB stick I could find, which was a Samsung FIT Plus 128 GB Type-A 300 MB/s USB 3.1 Flash Drive (MUF-128AB), and this gave me a huge speedup.
Unfortunately Jellyfin is not really fast enough on an rpi and I have no solution.
In terms of throughput, right next to an AP, I just got 65Mb/s.
My use case was using it to connect my family's devices to an AirBNB network. I used the Rpi as a bridge to the host WiFi. This way I could keep a common SSID/password and didn't have to reconfigure all of my kid's devices. It kinda worked.
However, it wasn't very reliable and had poor range and performance. The Rpi was meh with one client attached, but it was bleh with more than one. I ended up replacing it quickly with a cheap dedicated AP that I flashed with openwrt. Much easier, and device-wise was cheaper too.
Here's what I'm either running now or in the process of standing up. It's very WIP, and nothing special, but maybe someone has some feedback/ideas. I'm aiming to have all the things I use contained in my rack, relying on cloud stuff as little as possible, mainly as a fun exercise/project.
Uses:https://i.imgur.com/PDO71bx.png
Devices:
[0] Okay, maybe a little. It was a really neat service that I got to use for free for almost a year. A gentleman from Cloudflare (I think he said he worked in Romania) even sent me a gray T-Shirt with the big orange cloud company's logo on it in "Apple-style" minimalism.
[1] Programmers have gaps -- I'm surprised how many web developers' gaps are "everything between the various hosted files and The Browser".
I still haven't found a solution to obscure, geo-filter and WAF arbitrary TCP/UDP.
Spectrum Enterprise seems like it is capable but not really the answer for a personal server that handles megabytes of traffic a day.
I'm sure you've seen it already but Jellyfin is fantastic.
All comments shown.
Couldn't load more comments. Check your connection and try again.