this post was submitted on 24 Dec 2023
67 points (92.4% liked)

Selfhosted

40152 readers
458 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I just spent a good chunk of today migrating some services onto new docker containers in Proxmox LXCs.

As I was updating my network diagram, I was struck by just how many services, hosts, and LXCs I'm running, so counted everything up.

  • 116 docker containers
    • Running on 25 docker hosts
    • 50 are the same on each docker host - Watchtower and Portainer agent
  • 38 Proxmox LXCs (19 are docker hosts)
  • 8 physical servers
  • 7 VLANs
  • 5 SSIDs
  • 2 NASes

So, it got me wondering about the size of other people's homelabs. What are your stats?

top 50 comments
sorted by: hot top controversial new old
[–] redcalcium@lemmy.institute 47 points 10 months ago* (last edited 10 months ago) (1 children)

Dude, are you living in your company's server room?

[–] DeltaTangoLima@reddrefuge.com 12 points 10 months ago (1 children)

Lol - not quite. It sounds like a lot, but all of this runs on a couple of HP DL360s, a handful of Raspberry Pis, a nettop box, and a couple of consumer NASes.

[–] Lem453@lemmy.ca 29 points 10 months ago (1 children)

"i swear it's not a lot"

Goes on the describe an infrastructure setup comparable to most medium sized businesses

I love this community!

load more comments (1 replies)
[–] MolochAlter@lemmy.world 34 points 10 months ago (1 children)
  • 116 docker containers
  • Running on 25 docker hosts
  • 50 are the same on each docker host - Watchtower and Portainer agent
  • 38 Proxmox LXCs (19 are docker hosts)
  • 8 physical servers
  • 7 VLANs
  • 5 SSIDs
  • 2 NASes

And a partridge in a pear treeeee.

[–] DeltaTangoLima@reddrefuge.com 5 points 10 months ago

Lol - Merry Christmas, my anonymous friend. 🎅

[–] Vintercon@lemmy.world 18 points 10 months ago (2 children)

When I read lists like this, I often wonder, what is this person doing with all these containers and such? Do they actually use all of them regularly?

I've got:

1 proxmox machine serving - Openmediavault - 2 shares (jellyfin, general smb shares) Homeassistant Uptimekuma for monitoring Jellyfin

And some misc VMs for trying out things.

1 pi4b - pihole 1 pi3a+ tailscale subnet router / exit node

I often look at lists of things i can host and think to myself "do I need this?". This br8ngs me back to huge lists of services like this and my curiosity. Do folks actually interact with all these services regularly? Honest question, no shade intended.

[–] DeltaTangoLima@reddrefuge.com 11 points 10 months ago (1 children)

Do folks actually interact with all these services regularly?

In my case, yep. I believe in as much separation between services as possible, so each service essentially resides on its own docker host, whether physical or Linux container.

That said, some of my services are stacks of multiple containers. For example. my DNS service is a pair of Pi-hole DNS servers, each running their own Pi-hole container, but each one also running containers for Cloudflare tunnel and telemtry export to Prometheus.

Immich has a stack of 6 containers, Piped a stack of 5. So, out of the 66 containers (that aren't Portainer agent or Watchtower), it probably condenses down to around half that number (eg. the 25 docker hosts I have, plus a handful or two others).

[–] atzanteol@sh.itjust.works 8 points 10 months ago (1 children)

each service essentially resides on its own docker host, whether physical or Linux container.

This is the way. Multiple simple dedicated systems is so much easier to maintain than a single "do everything" server.

[–] DeltaTangoLima@reddrefuge.com 7 points 10 months ago

It's what docker and Proxmox were born to do!

[–] MSgtRedFox@infosec.pub 2 points 10 months ago* (last edited 10 months ago)

Do folks actually interact with all these services regularly?

Regularly, probably not, just depends. If you only spin things us to setup or learn something, no. https://infosec.pub/comment/5234431

[–] i_am_not_a_robot@discuss.tchncs.de 12 points 10 months ago (2 children)

How do people get to so many Docker containers before moving to Kubernetes? I only have 76 containers across 68 pods and that's far too much for me to manage in Docker.

[–] DeltaTangoLima@reddrefuge.com 4 points 10 months ago

Honestly, anything not mission critical (network/internet and home automation, mainly) gets auto-updated by Watchtower. I have Watchtower set to pull latest images of everything on a weekly basis, and specific containers that are set to monitor only. Every Saturday morning, I check the Slack channel for notifications of containers that need controlled updating.

[–] aard@kyu.de 2 points 10 months ago

Not really doing much docker, but a lot of LXC - everything scripted with ansible. I define basic container metadata in a yaml parsed by a custom inventory plugin - and that is sufficient for deploying a container before doing provisioning in it.

[–] Contort3860@links.hackliberty.org 11 points 10 months ago (1 children)

It's not much, but I've got a little LG netbook with an Atom CPU and 2GB RAM running Pi-hole and Syncthing.

[–] DeltaTangoLima@reddrefuge.com 5 points 10 months ago (1 children)

My starting point (with this incarnation of my homelab) was my Asrock ION330 nettop box. Then I discovered Raspberry Pis. Then I decided I needed a couple of HP DL360s. RIP my power bill.

[–] Contort3860@links.hackliberty.org 4 points 10 months ago (1 children)

One day when I'm all growed up I want to have a better setup. For now I've got what I absolutely need.

[–] DeltaTangoLima@reddrefuge.com 2 points 10 months ago

Yep - fair enough. Admittedly, my homelab is as much for professional development as it is home use, but pretty much everything gets used all the time.

[–] Rootiest@lemmy.world 7 points 10 months ago* (last edited 10 months ago) (2 children)
  • 8 Hosts (6 physical/local, 2 VPS/remote)
  • 72 Docker containers
    • Pi-hole (3 of them, 2 local, 1 on a VPS)
    • Orbital-sync (keeps the pi-holes synced up)
    • Searxng (search engine)
    • Kutt (URL shortener)
    • LenPaste (Pastebin-like)
    • Ladder (paywall bypass)
    • Squoosh (Image converter, runs fully in browser but I like hosting it anyway)
    • Paperless-ng (Document management)
    • CryptPad (Secure E2EE office colaboration)
    • Immich (Google Photos replacement)
    • Audiobookplayer (Audiobook player)
    • Calibre (Ebook management)
    • NextCloud (Don't honestly use this one much these days)
    • VaultWarden (Password/2FA/PassKey management)
    • Memos (Like Google Keep)
    • typehere (A simple scratchpad that stores in browser memory)
    • librechat (Kind of like chatgpt except self-hosted and able to use your own models/api keys)
    • Stable Diffusion (AI image generator)
    • JellyFin (Video streaming)
    • Matrix (E2EE Secure Chat provider)
    • IRC (oldschool chat service)
    • FireFlyIII (finance management)
    • ActualBudget (another finance thing)
    • TimeTagger (Time tracking/invoicing)
    • Firefox Sync (Use my own server to handle syncing between browsers)
    • LibreSpeed (A few instances, to speed testing my connection to the servers)
    • Probably others I can't think of right now

Most of these I use at least regularly, quite a few I use constantly.

I can't imagine living without Searxng, VaultWarden, Immich, JellyFin, and CryptPad.

I also wouldn't want to go back to using the free ad-supported services out there for things like memos, kutt, and lenpaste.


Also librechat I think is underappreciated. Even just using it for GPT with an api key is infinitely better for your privacy than using the free chatgpt service that collects/owns all your data.

But it's also great for using gpt4 to generate an image prompt, sending it through a prompt refiner, and then sending it to Stable Diffusion to generate an image, all via a single self-hosted interface.

load more comments (2 replies)
[–] eleitl@lemmy.ml 6 points 10 months ago (6 children)

How many W are you pulling, on the average? Or kWh per year.

load more comments (6 replies)
[–] crony@lemmy.cronyakatsuki.xyz 5 points 10 months ago* (last edited 10 months ago) (1 children)

I don't have a homelab ( space contrains ) but I do have 2 vps that I use to host in total 13 docker containers, mail server and an xmpp server.

Edit: My lemmy server is also hosted on them.

What I'm more interesting in is what is it that you selfhost to have so many docker containers?

[–] DeltaTangoLima@reddrefuge.com 2 points 10 months ago

What I’m more interesting in is what is it that you selfhost to have so many docker containers?

Well, lots of services are stacks of containers - Immich has 6 containers and Piped has 5, for example - so it's easy for the container count to get up there.

Other "services" are groups of containers/hosts to provide a complete capability - Home Assistant; esphome; Node-RED, for example. Then there's just the stuff that, due to my desire for loose coupling, are spread across multiple docker hosts/containers - 5 x Sonarr/Radarr instances, for example.

[–] JustEnoughDucks@feddit.nl 5 points 10 months ago* (last edited 10 months ago) (7 children)

A single SFF desktop setup in a Node306. 2700x, 32 GB RAM, Arc A380, some WD reds.

  • Homeassistant & associated packages for esphome and Zwave stuff
  • Jellyfin
  • *arr suite + transmission
  • yacht
  • uptimekuma
  • paperless
  • immich
  • authelia with OIDC SSO for containers where possible
  • traefik for reverse proxy
  • Nexcloud
  • valheim server
  • boinc in the winter
  • syncthing for phone sync
  • more services for keeping up the others

Soon a pihole to come.

I want to expand my smart home setup. My project this spring is integrating my smart gas and electric meters into homeassistant. We are completely stripping the house so I am wiring up everything with KNX with a nee Zwave devices where needed. Greatly expanding the smartish home.

I also have to set up a proper network. Right now I am using my Proximus Internet Box from the ISP which admittedly is pretty customizable.

load more comments (7 replies)
[–] iluminae@lemmy.world 5 points 10 months ago (1 children)
  • 33 nomad jobs, most being containers
  • 12 physical nomad clients
    • 3 amd64 poweredge
    • 2 pi4
    • 6 Nano Pi r5c
    • 1 odroid M1
  • Ceph: (nomad orchestrated)
    • 8 OSD
    • 50TB total raw disk
[–] DeltaTangoLima@reddrefuge.com 3 points 10 months ago (3 children)

Ah - I've been meaning to look into Nomad. I have plenty of admiration for Hashicorp's products. How are you finding it?

[–] 1984@lemmy.today 3 points 10 months ago

At my day job, we took a look at nomad and now we are planning to run everything in nomad. It's just so simple to understand and a joy to use.

[–] meteokr@community.adiquaints.moe 3 points 10 months ago

I believe they changed some of their licensing from the fallout of their IPO. Just worth noting for the selfhosting crowd. I know terraform is being forked entirely, but I'm unfamiliar with the specifics beyond that.

load more comments (1 replies)
[–] bjoern_tantau@swg-empire.de 4 points 10 months ago

I've got one headless cheap desktop PC sitting under my desk.

[–] ShellMonkey@lemmy.socdojo.com 4 points 10 months ago (1 children)

Currently 3 physical boxes down from 4 and aiming for 2. It pretty well comes down to a hypervisor and a NAS and the regular aux gear like a switch and modem. They're big boxes though with about 35 TB storage, .5 TB RAM, and 72 cores between them so lots of space to make imaginary computers in.

Right now my goal is reducing the power footprint. Kill-a-watt places the whole set at 650 watts today and I should knock about 150 off when I get the other box virtualized.

[–] DeltaTangoLima@reddrefuge.com 3 points 10 months ago (1 children)

Nice - have you got anything setup to monitor power consumption? I've got a few of those "smart" plugs running on Tuya (localised through Home Assistant) but I'm not 100% convinced of their accuracy just yet...

[–] ShellMonkey@lemmy.socdojo.com 3 points 10 months ago (1 children)

Just the kill-a-watt plug that the main power block is attached to. The servers have stats visible via the IDRAC (R730XD & R820) to break out for those, but nothing that shows a dashboard or such.

[–] DeltaTangoLima@reddrefuge.com 2 points 10 months ago

I've found the HP iLOs to be really unreliable for viewing across the network. Something I've been meaning to look into...

[–] Decronym@lemmy.decronym.xyz 3 points 10 months ago* (last edited 10 months ago)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
AP WiFi Access Point
DNS Domain Name Service/System
ESXi VMWare virtual machine hypervisor
Git Popular version control system, primarily for code
HTTP Hypertext Transfer Protocol, the Web
LVM (Linux) Logical Volume Manager for filesystem mapping
LXC Linux Containers
MQTT Message Queue Telemetry Transport point-to-point networking
NAS Network-Attached Storage
NUC Next Unit of Computing brand of Intel small computers
PSU Power Supply Unit
PiHole Network-wide ad-blocker (DNS sinkhole)
Plex Brand of media server package
PoE Power over Ethernet
RAID Redundant Array of Independent Disks for mass storage
SSO Single Sign-On
Unifi Ubiquiti WiFi hardware brand
VPN Virtual Private Network
VPS Virtual Private Server (opposed to shared hosting)
ZFS Solaris/Linux filesystem focusing on data integrity
nginx Popular HTTP server

20 acronyms in this thread; the most compressed thread commented on today has 3 acronyms.

[Thread #370 for this sub, first seen 24th Dec 2023, 07:35] [FAQ] [Full list] [Contact] [Source code]

[–] NonDollarCurrency@monero.town 3 points 10 months ago (1 children)

Dang, how does your isp feel about that many machines talking out to the internet, have they made you pay for business plans yet?

[–] DeltaTangoLima@reddrefuge.com 2 points 10 months ago (1 children)

Lol - I'm on unlimited 1Gbps fibre here. So far, they haven't raised any concerns.

[–] NonDollarCurrency@monero.town 2 points 10 months ago

That's awesome, best of luck it stays that way!

[–] reddit_sux@lemmy.world 3 points 10 months ago

One laptop, 2 ssd, 4 Proxmox lxcs, 3 docker containers, 2 routers.

[–] MSgtRedFox@infosec.pub 3 points 10 months ago* (last edited 10 months ago) (2 children)

  • 3 DL360G8 Esxi (86Ghz/512GB RAM)
  • 1 DL380G8 TrueNAS
  • 1 DL360G7 Veeam
  • Dell n5070 Extended PVE SophosnUTM
  • 48 Port Catalyst rack switch
  • Cisco 2921
  • Fibre Channel / iSCSI

50+ VMs and containers:

  • VMware ESXi, vCenter, VMware Log Insight, VMware OPS
  • DMVPN to remote locations like a desk switch at work and family member houses
  • Sophos UTM
  • Active Directory for my home computers
  • hybrid sync to MS Entra (Azure Active Directory) with Entra Connect
  • hybrid Exchange on Premise and Exchange online
  • Active Directory for management network
  • Security Onion VMs for IDS
  • Network monitoring like Elastiflow, PRTG
  • Docker, gitlab, OpenSalt / Saltstack
  • Trellix ePO for AV
  • Nessus vuln scanners
  • Team Awareness Kit (TAK) server
  • Active Directory Certificate Services
  • Home media applications

These things are mostly to maintain familiarity and documentation development. I write off the cost of electricity as continuing education and professional development. More enterprise than some enterprises.

[–] ReducedArc@lemmy.world 6 points 10 months ago (2 children)
load more comments (2 replies)
load more comments (1 replies)
[–] lemann@lemmy.dbzer0.com 3 points 10 months ago

Mine's pretty moderate in comparison to yours lol

  • 2 cloud VPSes
  • 2 physical locations
  • 4 physical servers
  • ~20-30 docker containers across the servers
  • 3 VMs
  • 3 managed switches
  • 5 VLANs (2 with internet access)
  • 2 SSIDs
[–] neurospice@lemmy.dbzer0.com 3 points 10 months ago (1 children)

I have a very modest 7 docker containers on a vm on my gaming rig and I have a raspberry pi for my DNS server. Honestly my setup is quite scuffed (in comparison to yours), but it does what I need it to do

load more comments (1 replies)
[–] darkan15@lemmy.world 2 points 10 months ago

Old laptop, Debian with docker running nextcloud, navidrome, jellyfin, gitea, librespeed, wireguard, dnsmasq, and nginx as a reverse proxy.

[–] possiblylinux127@lemmy.zip 2 points 10 months ago (2 children)

What are you running in docker

load more comments (2 replies)
[–] fuckwit_mcbumcrumble@lemmy.world 2 points 10 months ago

I have a NAS and it runs deluge to download torrents, and hosts two very basic websites.

load more comments
view more: next ›