Live data from Hacker News

Ask HN: What's on your home server?

news.ycombinator.com

121–130 of 467 posts

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

#122

Running k3s on a small cluster of mini pcs and RPis. Use Tailscale for MagicDNS and access from any network. Have a custom wildcard domain pointing to my tailscale k3s node ips, and a traefik ingress controller. This means exposing a service from my cluster on a subdomain just requires creating an ingress object in k3s, and it's only accessible via tailscale. cert-manager and let's encrypt handle TLS. All services ar…

Always love seeing someone else create a similar solution as your own (albiet likely better!).

I have the same setup with K3S running on a couple PIs. You have a nice CI but I decided to use cdk8s[1] which lets you compile Typescript into K8 files. For access I did almost exactly the same but with CloudFlare Tunnels (might look into Tailscale). Stealing the zigbee2mqtt and room assistant ideas.

Where do you store volumes? I eventually just bought a NAS and mount persistent NFS volumes off it.

1. https://cdk8s.io/

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

#123
On a VM host (using libvirt), I run:

- FreeIPA (LDAP + DNS)

- Keycloak (SAML/OpenIDC provider for FreeIPA)

- Gatekeeper (or the new replacement) (SAML authentication in-front of applications that do not support SAML/OpenIDC

- several OpenVPN servers (Personal access to internal networks + connection to remote VMs)

- Tinc (Site-to-site VPNs)

- Jenkins x 2 (CI) with linux/windows/macos build agents for various projects :)

- Racher clusters (k8s "wrapper")

- Gitlab (source code/ticket tracking/CI)

- phabricator (SCM/ticket tracking) - though it's now deprecated ;(

- cachet (status page)

- mattermost (IM messaging)

- sentry (exception tracking)

- gitea (SCM)

- Drone (CI for gitea)

- matomo (site analytics)

- sonarque (code scanning)

- tracwiki (internal wiki)

- onlyoffice (web-based office suite)

- nextcloud (for onlyoffice storage)

- nexus (package artifact repository)

- squid proxies and apt-cacher for package caching

- pfsense (firewall for internal networks)

- perforce (SCM for larger projects (games etc.))

- recipesage (recipe hosting tool)

- icinga2 (with icinga director) (nagios-based monitoring)

- Custom backup solution, using duplicity for internet tier backups

- phpipam (recording networks and assigned IPs)

- remote docker swarm cluster using glusterfs, MySQL cluster, haproxy, mysqlproxy, bind, consul

- portainer (docker management for remote docker swarm cluster)

- docker registry for local builds and proxy instance for caching remote images.

- syncthing for personal file synchronisation

- wazuh - host security scanning

- snipe-it for asset tracking

- seeddms - document storage (bills, receipts, letters etc.)

- Calibre-web (PDF book viewer)

- various self-build web applications, databases to support applications, reverse proxies for internal hosting (mainly haproxy)

Media PC: - syncthing

- plex

- homeassistant

- samba (for other family members that don't like SSH/rsync ;) )

- couple of game servers

Thanks for this post - there's a bunch of great applications posted that I hadn't heard of that look really interesting to try out! :D

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

#124
post #86

Reading this thread, someone needs to put the home server in a tiny box, preinstalled with all the apps and put a slick user interface on it. I think https://umbrel.com is a thing but it's not packaged with hardware. Something that packages the hardware and software together would be pretty killer. Plug and play. Instant email. All the apps. Easy migration from existing services.

https://en.wikipedia.org/wiki/FreedomBox

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

#125
- Self hosted LanguageTool instance. Spell/grammar checker like Grammarly, but the self hosted version avoids the privacy problems.

- Write-only file upload under an obscure domain. A bit dangerous, but a life saver when someone wants to send you a 200MB file. "Just go to frequentrain.com and upload there". With desktop notifications on my side, text upload for quick note taking from any computer, etc.

- Custom RSS feed reader, and downloader for YouTube channels or websites that I like but fear may go offline.

- Cronjob for checking internet connectivity (to router, to DNS server, to nearby servers, to far away servers). Very useful for both troubleshooting and forcing the ISP to admit there's a problem.

- Fire-and-forget jobs. Long video transcoding, downloading large files from flaky servers, running long tests, etc.

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

#126
post #119

Not my home but my parent's (as I'm a "nomad"). They recently built a new house and put me in charge of the tech with a handsome budget, so I built a rack just like it would be my place. Ended up costing 1/4th of what other "smart home" companies quoted. We got way better bang for the buck and software capabilities. On the server/NAS, a QNAP TS-464eU (4x 4TB HDD RAID 5 + 2x 1TO SSD RAID 1), I'm running Container Stat…

As someone who gets caught in the occasional "could you just fix x – what do you mean y is not working? It always worked before you got here"-trap, essentially signing up to run your parents entire smart home setup, indefinitely, feels like some special kind of hell.

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

#127
My home server has currently running:

- Nextcloud (for normal collection of files etc)

- Home Assistant

- Zwave JS (for Home Assistant)

- Couple of Minecraft servers

- Pihole for DNS based tracking and ad blocking

- Not continuously running but in use: Unison backups for backing up my photo archive disks hooked to my laptop. Feels the best way to sync changes of big disks.

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

#128
My home server is based on Unraid, it does double duty as file server and application server. I use a desktop case and MB with an AMD 5 3600X, 32GB ECC RAM and 5x10TB HDD (30TB usable) storage + 1TB SSD cache.

Current active services, all docker containers:

- Unbound DNS server - resolves names from the root servers and resolves my local domain and external home domain to local IPs for compat reasons - will be moved to RPi or Rock Pi due to routing issues with Docker containers

- Syncthing - backup pictures from my phone to the server

- Gitea - hosts a mix of private and public repos, automatically mirrors some Github repos (came in handy when Automatic's SD webui got removed)

- Plex - serves the TBs of media I store on the server, used by me and very occasionally by my parents

- SWAG (nginx with letsencrypt integration) - serves as the reverse proxy for all services, small detail: I use a wildcard subdomain and certificate to prevent service names from being visible via certificate transparency

- Home Assistant (as VM) - home automation etc., ZigBee gateway is a rooted Silvercrest (Lidl) gateway, see [1] (not my page, very useful), also serves as the MQTT server for anything automation related

- Rhasspy voice assistant - main node runs as Docker container on the home server, 2 satellites based on RPis (one in bedroom, one on my desk for tinkering), some more details on the setup at [2]

- PhotoPrism - new service, hosts some pictures, not sure whether I will keep it, automatic content recognition is nice, worked decently with my cat pics

- mStream - lightweight web interface to stream audio, also have the app on my phone

- MPD - media daemon, can be used via home assistant as media source and from my RPi connected to my HiFi (HA can start/stop/volume control, RPi has a web interface for music selection, can also play internet radio via HA)

- OpenVPN (legacy) and Wireguard VPN endpoints

Disabled services:

- Gitlab - playground so I can test things without screwing up the production environment at my company

- 7DaysToDie - game server for some friends

- AMP - multiple game servers, usually hosts Minecraft server(s) for some friends

- Empyrion - game server for some friends

- OpenStreamingPlatform - think Twitch, but self hosted, I messed up some config and have not recovered it

- SFTP server - unused offsite backup

As you can see, I am very much in the self hosting camp. The server is my home lab for testing things and gets new services as I "need" more functionality.

[1] https://paulbanks.org/projects/lidl-zigbee/ha/ [2] https://news.ycombinator.com/item?id=33708421

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

#129
Mine is a local one, running on an OrangePi Zero. Contains three things.

- DNSMasq for handling local hostnames, and caching external queries for reducing round trips and latency.

- SyncThing for aggregating a couple of computers, act as an always on file syncing endpoint. It also handles transferring/syncing files between home and work.

- qBittorrent client for downloading Linux ISOs and keeping them alive. I use a lot of VMs and replicate work environment at home for testing stuff, so having the ISOs and keeping them seedable is nice.

Since it's not that powerful, SFTP file transfers tax the processor a lot, so it also has a local, unencrypted FTP server for transferring files in and out.

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

#130
I have a standard 42U server rack in my home and 7 2U servers in it now, all of them are retired E5-v3 generation from local datacenters which are so cheap.

All my homelab services run on a single 2U huawei rack server with dual E5-2680 v3, 128GB RAM, Intel P3600 for OS, and 120 TB HDD for storage, with 10Gbps networking, the other servers are used for testing and messing with.

The OS is Debian 10, and I deployed a single node k3s to deploy my services as the management is easier and I may scale them to more nodes in the future.

Major services:

- Ceph (rook-ceph) for managing the 120TB storage, and the CephFS are shared through Samba as the family NAS. It stores family videos and photos (through Nextcloud PV), Blueray movies, old games from the '90s to pre-Steam era, emulator ROMS including MAME, Wii, GBA, PS, XBox, etc. 2-replicas for not-so-important data like games and movies, 3-replicas for personal and family data, 5-replicas for very important data. And I'm so happy with Ceph, it's so stable and easy to extend compared to other solutions like RAID, Longhorn and GlusterFS.

- Nextcloud, I have 3 Nextcloud deployments in the same k8s cluster, one for my personal projects like design documents that can be shared with others, one for the family to view and upload family videos and photos, and one for my personal private data that should not supposed to share with anyone.

- Home Assistant to monitor and control my home.

- Gitlab, stores all my personal project code.

- qbittorrent, for downloading and seeding torrents.

- Gitpod, as my main remote development environment, I can develop wherever I like!

The k3s uses CertManager to issue and renew Let's Encrypt certificates for my services, so I can access my homelab with HTTPS securely from outside.

Post reply on HN