Live data from Hacker News

Ask HN: What do you self-host?

news.ycombinator.com

41–50 of 347 posts

Re: Ask HN: What do you self-host?

#41

Bums me out when I see people putting so many resources into running/building elaborate piracy machines. Plex, radarr, sonarr, etc... (you note some of these services but /r/homelab is notorious for this) Here’s my home lab: https://imgur.com/a/aOAmGq8 I don’t self host anything of value. It’s not cost effective and network performance isn’t the best. Google handles my mail. GitHub can’t be beat. I use Trello and Not…

I use Plex. It virtually exclusively contains rips of blu-rays and DVDs that I have bought. I do not consider this piracy. I do not think format shifting is unethical. I do think DRM is unethical.

Re: Ask HN: What do you self-host?

#43

On my home server (refurbished ThinkPad X201 with a Core i5-520M, 8GB of memory, 1TB internal SSD sync'd nightly to an external 1TB HDD) I run a single-node Kubernetes cluster with the following stuff: * MinIO: for access to my storage over the S3 API, I use it with restic for device backups and to share files with friends and family * CoreDNS: DNS cache with blacklisted domains (like Pihole), gives DNS-over-TLS to t…

Could you share a bit about your picture gallery?

Sure! Here's the source code: https://github.com/ricardbejarano/pyctures

I could set up a demo if you want to.

It's a cheap Flask app that scans a given "library" directory for "album" subdirectories, which contain the pictures you want to display.

It has a big issue with image size (16 images per page, my phone takes 5MB pictures, 80MB per page is HUUUGE). Thumbnailing would be great. I'm open for PRs ;)!

If anyone knows about a better alternative... I set this up when we got back from one vacation for my relatives to easily see the pictures (without social media).

Re: Ask HN: What do you self-host?

#44

On my home server (refurbished ThinkPad X201 with a Core i5-520M, 8GB of memory, 1TB internal SSD sync'd nightly to an external 1TB HDD) I run a single-node Kubernetes cluster with the following stuff: * MinIO: for access to my storage over the S3 API, I use it with restic for device backups and to share files with friends and family * CoreDNS: DNS cache with blacklisted domains (like Pihole), gives DNS-over-TLS to t…

You might take a look at https://github.com/grafana/loki if you haven’t seen it yet for logs. It’s still really new but it’s been working for me great.

Thanks for the heads up, I'll check it out!

Re: Ask HN: What do you self-host?

#46

Earlier quoted context omitted.

I've been wanting to do a kubernetes setup with my home server, but most tutorials are aimed at multi node clusters. Do you have any links on how to setup such a system?

If you follow a multi node cluster tutorial all you should need to do is remove the master taint from the node and normal pods will spawn on it

That's essentially it, yes.

FYI: the control plane takes about 150m (milli-cpu) and ~1.5GiB of memory in a host with my specs.

Re: Ask HN: What do you self-host?

#48
many things:

- Nginx

- Nextcloud (with Calendar/Contacts on it)

- IRC client (thelounge)

- IRC server

- DLNA server

- Ampache server

- video and photo library thru NFS (locally only)

- OpenVPN

- Shiori for bookmarks

- Gitea for private projects

- Syncthing (to keep a folder synchronized across my devices)

- Jenkins

Re: Ask HN: What do you self-host?

#49

I'll bite because I love threads like this! I run an Intel NUC with an i5, 8G RAM, a OS SSD, and an external USB3 4TB RAID attached. OS is Debian 9. I've always ran a "general utility" Debian server at home due to projects and SSH tunneling (yeah yeah I should setup a proper VPN I know ha). * It's a target for my rsync backups for all my client systems (most critical use); Docker TIG stack (Telegraf, InfluxDB, Grafan…

I guess this is a recent i5? In case you want a low consumption alternative, an older Celeron-based NUC is also a very capable machine (much better than a Raspberry Pi 4 for about the same price used nowadays) and remains idle at a few dozens of watts.

Re: Ask HN: What do you self-host?

#50
Zulip, archivebox, codimd, mailu, plex, radarr, sonarr, jackett, transmission, matomo, kiwix, minecraft, nextcloud, unifi controller, unifi CRM, pihole, wireguard, zfs, glusterfs, freenas, autossh, swarmpit, netdata, syncthing, duplicati, elk stack, nomad, a bunch of static sites, a bunch of wordpress sites, a bunch of assorted django apps (including a large consumer-facing one), custom dyndns and tls renewal cron jobs, and many many more that have come and gone over the years.

All on a few Vultr + Digitalocean droplets, 2 raspis + 1 atomic pi, a couple HP i5 mini desktop machines, and a Dell r610 rack server with 24 cores and 48GB of ram (with about 36TB of assorted shucked and unshucked USB hard drives attached in a few GlusterFS / ZFS pools). I have a home-built UPS with about 1.5kwh worth of lead-acid batteries powering everything, and it's on cheap Montreal power anyway so I only pay $0.06¢/kwh + $80/mo for Gigabit fiber. It's a mix of stuff for work and personal because I'm CTO at our ~9 person startup and I enjoy tinkering with devops setups to learn what works.

All organized neatly in this type of structure: https://docs.sweeting.me/s/an-intro-to-the-opt-directory

Some examples: https://github.com/Monadical-SAS/zervice.elk https://github.com/Monadical-SAS/zervice.minecraft https://github.com/Monadical-SAS/ubuntu.autossh

Ingress is all via CloudFlare Argo tunnels or nginx + wireguard via bastion host, and it's all managed via SSH, bash, docker-compose, and supervisord right now.

It's all built on a few well-designed "LEGO block" components that I've grown to trust deeply over time: ZFS for local storage, GlusterFS for distributed storage, WireGuard for networking, Nginx & CloudFlare for ingress, Supervisord for process management, and Docker-Compose for container orchestration. It's allowed me to be able to quickly set up, test, reconfigure, backup, and teardown complex services in hours instead of days, and has allowed me to try out hundreds of different pieces of self-hosted software over the last ~8 years. It's not perfect, and who knows, maybe I'll throw it all away in favor of Kubernetes some day, but for now it works really well for me and has been surprisingly reliable given how much I poke around with stuff.

TODOs: find a good solution for centralized config/secrets management that's less excruciatingly painful than running Vault+Consul or using Kubernetes secrets.

Post reply on HN