Live data from Hacker News

Ask HN: What's on your home server?

news.ycombinator.com

81–90 of 467 posts

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

#81
post #9

Me too, it's been a lot of years since I bothered with a home lab, but just recently I put NixOS on a triad of Intel NUCs work was throwing away. They're fanless, quiet and decent enough for Linux with their 16GB memory and 8 cores. Way better than a RasberryPi. Now I can do some experiments I wanted to do, but not use VMs on my laptop. Feels more real when I can see a little stack of servers I can pull the power on.…

I use an Intel NUC as a desktop. It's powerful enough for 6 virtual ubuntu machines (probably more) and running ceph and postgres nodes with Vagrant (not that I use them all the time, more for development) Processor Intel(R) Core(TM) i7-10710U CPU @ 1.10GHz, 1608 Mhz, 6 Core(s), 12 Logical Processor(s) 32GB RAM 1TB SSD https://ark.intel.com/content/www/us/en/ark/products/188811/... IntelliJ and Windows 11 runs fine.

I had this setup and then wanted more so got a Ghost Canyon one. It's not really a Nuc as its about 8x the size, but carries the badge. It'll fit a full PCI card and then you can go wild. It really is great.

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

#82
Love reading threads like these. Have already discovered a couple of cool things in here to explore.

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.

https://i.imgur.com/PDO71bx.png

Devices:

    * 6 x Raspberry Pis (1 x v1, 2 x v2, 1 x v3, 2 x v4)    
    * 1 x HP Microserver (ProLiant Gen8 Intel Celeron G1610T, 2x3TB in RAID, 1TB regular)   
    * 1 x Old gaming PC (i7 3770K, 24GB mem)    
    * 1 x Current PC (i5 12600K, 64GB mem; this is in the rack so that I can have a small, cleared desk, but is not hosting anything)
Uses:

    * Dev stuff:
        * Forge - WIP: Forgejo
        * CI/CD - WIP/TBC: Woodpecker CI vs Concourse CI vs Laminar CI
        * Container registries - 1 x my images, 1 x Docker Hub mirror
        * Deployments - WIP: Would love a FOSS Octopus Deploy clone. Working on my own primitive Ansible clone for fun, which might be good enough.
    * Home stuff:
        * Reverse proxy - nginx
        * Backups - TBC: Not sure yet. Lots of good options around. Probably should be doing this first..
        * Adblock - Pihole
        * Content aggregation - Basic Bash YT downloader (using yt-dlp), Deluge
        * NAS - Samba
        * VPN - WIP: Wireguard
        * Network control - WIP: some basic custom stuff to wake/sleep the microserver + gaming PC when not in use for power/heat reasons, initiate backups etc
        * Telegram bots - TG is my chat client of choice and I have a small .NET 'gateway' API I use to send messages from various bots (each representing different parts of my 'home lab') to my personal account
        * Monitoring/dashboards - TBC: haven't explored software for this yet
        * Log aggregation - TBC: haven't explored software for this yet
        * Network boot - TBC: Yesterday I started thinking of trying to PXE boot the RPis cause they're in one of those stacking towers inside my half-height rack, so getting to them is a PITA.

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

#84
post #79

Earlier quoted context omitted.

How do you do backups? I’ve had a homelab for a decade and I could never figure backups out properly. I use proxmox with containers, VMs when I have no choice, and a portainer machine that runs docker containers when I have no choice. I use ansible so in each playbook I have a task to backup periodically to rsync.net But that requires a lot of work because it must be setup for each service, doesn’t work with the dock…

Use ZFS snapshots and send & receive. It so good and easy! I backup everything with it, VM's, containers, databases, files.

Where do you backup to?

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

#85
post #42

In a cloud server (hidden from the public) www.keycloak.org - auth mostly for outline www.getoutline.com - my personal "notion" nginxproxymanager.com - to proxy things Wireguard - remote access and interconnection between zones cockpit-project.org - to manage VMS github.com/coder/code-server - To remote develop 2x of docs.paperless-ngx.com/ (one for me and one for my partner) - I scan and destroy most of the letters…

> 2x of docs.paperless-ngx.com/ (one for me and one for my partner) - I scan and destroy most of the letters I get. Ah, interesting. I have been considering finding a solution like that. How do you like it? Are there other alternatives you considered?

I can recommend paperless. I am running it locally in a Docker container and sync database/files with iCloud (so they are backed up). I've been thinking about putting them on the actual web to access them anywhere, but so far having paperless "just" on my computer was enough.

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

#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.

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

#87

Every digital asset I’ve ever created and backups of every machine I’ve had since graduating college. I have a rule of forbidding remote access so it’s not really a server — you can only get onto this host if you are sat in front of it. Everything is backed up offsite by a combination of borg and USB “tapes”. It was very liberating to put all my data on one filesystem (ZFS zpool) instead of having it littered over ma…

How do you do backups? I’ve had a homelab for a decade and I could never figure backups out properly. I use proxmox with containers, VMs when I have no choice, and a portainer machine that runs docker containers when I have no choice. I use ansible so in each playbook I have a task to backup periodically to rsync.net But that requires a lot of work because it must be setup for each service, doesn’t work with the dock…

As my sibling says, zfs send and receive is excellent. If your datasets are encrypted they remain encrypted at the other end, without any requirement to unlock them on your backup server (should you only partially trust it, for example.) It works for incrementals but you have to manually specify the delta point for each send — it’s not like rsync where it figures out the differences automatically.

I use zfs send/recv to update a pile of USB drives each time I do a physical offsite backup. I also use it to gather data from other hosts onto my main data computer.

Once everything is there I then archive each snapshot of each filesystem as a new borg archive. This is efficient — borg only backs up changes — but it requires a rescan of all the data. This happens at ~50MB/s on my opteron with 4TB WD Red HDDs.

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

#88
I've bought a used Dell Poweredge T320 with Xeon E5-2428L (low consumption), 24GB RAM and an SSD, so it's quiet and cheap to run, and I've got Debian with dockerized services.

  jwilder/nginx-proxy to act as a reverse proxy that dynamically routes traffic to containers without manually editing the config, using subdomains, with SSL wildcard cert
  DokuWiki that I don't use much anymore
  Nginx to serve static files used by other servers
  My web resume
  Piwigo for pictures
  IoT: Custom Python Flask server that is used to control Philips Hue lights from ESP8266 wifi modules (cheaper than buying 20€ Philips switches)
  Vaultwarden (Bitwarden) my password manager, shared with family
  OpenVPN server
  Wekan (self-hosted open source Trello-like)
  Gitlab and Gitlab CI (created when Github didn't have free private repos, might delete at some point because it uses some CPU even when idle, but I have over 50 personal repos, also share with close family)
  Nextcloud, but I don't use it for important/sensitive stuff yet, I'd have to set up a robust  backup procedures
  Other experiments, like openvscode-server, web interface with password to trigger wake-on-lan for my PC, etc.
Email seems like a pain because small servers are always seen as spam by big services, need to manage reputation, too complicated, so I use my hostname provider (Gandi) SMTP relay to send email, and I could set up a free inbox too, but I don't need it.

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

#89

In a cloud server (hidden from the public) www.keycloak.org - auth mostly for outline www.getoutline.com - my personal "notion" nginxproxymanager.com - to proxy things Wireguard - remote access and interconnection between zones cockpit-project.org - to manage VMS github.com/coder/code-server - To remote develop 2x of docs.paperless-ngx.com/ (one for me and one for my partner) - I scan and destroy most of the letters…

[deleted]

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

#90

In a cloud server (hidden from the public) www.keycloak.org - auth mostly for outline www.getoutline.com - my personal "notion" nginxproxymanager.com - to proxy things Wireguard - remote access and interconnection between zones cockpit-project.org - to manage VMS github.com/coder/code-server - To remote develop 2x of docs.paperless-ngx.com/ (one for me and one for my partner) - I scan and destroy most of the letters…

[deleted]
Post reply on HN