Live data from Hacker News

Ask HN: What's on your home server?

news.ycombinator.com

341–350 of 467 posts

Re: Ask HN: What's on your home server?

#341
post #305

I've been using a Raspberry Pi as a home server, and it's been holding up amazingly well, given everything I've thrown at it: - The excellent Home Assistant, for unifying across Homekit and Google Home and tracking historical temperatures and a couple of automations. The RPi has Bluetooth built in, so I can capture the data from a few Bluetooth thermometer/hygrometers running custom firmware ( https://github.com/pvvx…

All of my Raspberry Pis netboot, which means I never have to worry about a card burning out, and I can change what they boot into by just renaming a symlink on the server.

Re: Ask HN: What's on your home server?

#342

Earlier quoted context omitted.

Why wouldn’t you be able to? Pihole is just dnsmasq with a frontend.

The biggest curse of the Raspberry Pi is a whole heap of stuff that has gone from “needs a UNIX server” to “but surely that requires an underpowered UNIX server with a very specific distribution of Linux”.

Pi-hole runs just fine in Docker [1]. You don't need a Pi to run it.

[1]. https://github.com/pi-hole/docker-pi-hole/

Re: Ask HN: What's on your home server?

#343

I ran a raspberry (model 1, then 2, 3, 4) since forever, which has been fun. Switched to an intel NUC recently as I had a spare and needed the compute power. Being able to run on 32 gb ram with an nvme disk feels good, but the pi has served my needs pretty well... - plex for streaming media - external hdd that a friend uses as offsite backup (he has mine) - home assistant, mostly fed by data from the... - mqtt broker…

Do the cheap NUCs let you install more than 8GB RAM?

Not sure which those are, but all the J/N 4000 series CPUs are only rated for 8 GB, yet I never heard of anyone having issues with 16, though not always at the maximum supported frequencies.

Re: Ask HN: What's on your home server?

#344

NextCloud, Home Assistant, Paperless NGX, Minecraft, Caddy for some Hugo sites/blogs, Unify Controller, Vaultwarden, Traefik, Sabnzbd. Used to do WireGuard but now I use Tailscale, AdGuard home and FoundryVTT. It's all docker-compose. I'm thinking of taking some services off the internet using TailScale, some already are just on the Tailnet (Home Assistant and Paperless NGX), all my SSH ports are now only open to the…

> I love Tailscale, except for the battery drain on my iPhone Same, I hope they can fix this soon. :(

I've run into this too, and there's been an open issue on this for some time now:

https://github.com/tailscale/tailscale/issues/3363

Re: Ask HN: What's on your home server?

#345
post #305

I've been using a Raspberry Pi as a home server, and it's been holding up amazingly well, given everything I've thrown at it: - The excellent Home Assistant, for unifying across Homekit and Google Home and tracking historical temperatures and a couple of automations. The RPi has Bluetooth built in, so I can capture the data from a few Bluetooth thermometer/hygrometers running custom firmware ( https://github.com/pvvx…

All of my Raspberry Pis netboot, which means I never have to worry about a card burning out, and I can change what they boot into by just renaming a symlink on the server.

Seems like a smart way to do it, but that relies on having another always-on system standing as the server. OP's solution only requires the one device, the rPi unless something needs to be changed.

Re: Ask HN: What's on your home server?

#346

I have 3 rpi4s running my entire home network. 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 ha…

Sounds neat. Are you doing anything to mitigate the possibility of SD card corruption with the Raspberry Pis? 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.

TBH I haven't ever had a problem with SD card corruption so far. If I did, it wouldn't really matter, since all the important data is on the RAID array, and the OS can be reprovisioned if needed.

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.

Re: Ask HN: What's on your home server?

#347

I've got a slew of different computers doing different things. All of them are networked together via Tailscale. Ubuntu 22.04 Server for the host, everything else runs in LXC containers. This is all setup on ZFS. - https://znc.in/ IRC bouncer - https://caddyserver.com/ Caddy Webserver for a few personal websites - https://github.com/AndroidKitKat/waifupaste.moe/ My personal pastebin - https://transmissionbt.com/ Torr…

Your hypothetical new plex box does not need a discrete GPU. Plex makes really good use of Intel Quick Sync, and transcode quality has been indistinguishable or better than NVIDIA since about 5th gen. A Celeron G4900 (8th-gen dual core, 3300 passmark) has been benched as capable of 21 simultaneous 1080p transcodes.[0] TL;DR: pick up a NUC knockoff with an >8th gen celeron or i3; it'll handle anything a casual househo…

The second you want multiple streams of higher quality then 1080p 10mbs you will want a dedicated card. I got a 4k TVs are common, planning for 1080p use is a mistake at this point imo.

Re: Ask HN: What's on your home server?

#348
From the top of my head:

Proxmox and Kubernetes, Rook on top of that for storage. GitLab for manifest storage, ArgoCD for deployment, terraform for node management in proxmox. It's not fully redundant (two separate nodes) but storage is replicated (ZFS send/receive on proxmox, Ceph replication for Rook).

Primary stuff are things like AP management, file shares, prometheus, grafana, various interfaces with 'dumb' devices, just to collect data from them without having them connected to the internet, VPN for remote access, separate VPN for internet tunnelling when on foreign networks, media service for movies and series, downloaders, Cloudflare tunnels to expose services to the big bad internet without opening ports, TFTP services for network booting, pull through caches for OCI resources and some other package indices. Also an OpenFlow controller but that was more for fun than because I needed it, no longer used for actual switches.

Main benefit from all the IaC is easy creation/destruction of entire environments when testing out things without having to pay money to a public cloud.

Also have BSD based firewall(s) to do NAT, DNS, DHCP etc. but those aren't on a shared home server but rather on separate hardware.

Similar setup in leased hardware in a DC just to keep the knowledge for legacy setups in on-prem style cases fresh, and public cloud version as well (but that costs money so it's scaled down significantly)/

Re: Ask HN: What's on your home server?

#349
- Samba server - Nginx reverse proxy - Wordpress - Nextcloud - Mediawiki - Jellyfin media server - FreshRSS client - RustDesk server (like Teamviewer/AnyDesk) - restic + Backblaze for cheap daily backups - Octoprint server for 3D printing - Deluge + WebUI torrent deamon - Syncthing

Re: Ask HN: What's on your home server?

#350
I've pared things down quite a bit lately; the setup here used to be:

- A Mac Mini, a Pi 4 with SSD and 8GB RAM and a Pi 3B+ forming a "multi-room" Kubernetes cluster with the idea that sensors and automation for each room (that had one) could be run locally in that room, including wired sensors, all connected by Kafka running on one of the Pis; that way I could just plug in another sensor and the local pod would know what to do with it. I never found a reliable way to allow pods to use serial devices and such, so while it's been fun, shifting priorities mean I had to scale it down to just the Pi 4 running HASS, Zigbee2MQTT, Mosquitto, NodeRed, uStreamer and a simple homebrew TTS API based on espeak. It's all docker-compose now, since docker works a lot more reliable with devices. It's a real shame, kustomize/flux/k8s is so much nicer for robustness and easy configuring (a second, different instance of my stack is running elsewhere, so I need that) and monitoring, debugging, ... is way more convenient, but I need those sensors to work and I can't spend as much time fiddling with it as I previously did, so it's docker-compose and Ansible for now.

- A Pi 3 running OctoPrint; since made redundant as my 3D printer (Prusa Mini) got the ability print over LAN with the last update. The webcam I use to monitor it is now running via uStreamer on the Pi 4. It's going to become the brains for the Freenove Big Hexapod Robot kit I've been gifted last Christmas.

- A Pi Zero W running a large-ish e-ink display with weather data and things like that. Still around, terribly useful, I'd love to have a second (but possibly one that doesn't take seconds to refresh...)

- A Synology running a Prometheus/Grafana stack, a MySQL, a docker registry for the Kubernetes cluster, Gitea with all the manifests and flux config so I could rebuild the Kubernetes cluster without internet access. Also still around, but I'll get rid of some of the stuff running on there. Reducing its attack surface and such.

And I'm using Tailscale like everyone else these days.

Post reply on HN