I’ve been around selfhosting most of my life and have seen a variety of different setups and reasons for selfhosting. For myself, I don’t really self host as mant services for myself as I do infrastructure. I like to build out the things that are usually invisible to people. I host some stuff that’s relatively visible, but most of my time is spent building an over engineered backbone for all the services I could theoretically host. For instance, full domain authentication and oversight with kerberized network storage, and both internal and public DNS.

The actual services I host? Mail and vaultwarden, with a few (i.e. < 3) more to come.

I absolutely do not need the level of infrastructure I need, but I honestly prefer that to the majority of possible things I could host. That’s the fun stuff to me; the meat and potatoes. But I know some people do focus more on the actual useful services they can host, or on achieving specific things with their self hosting. What types of things do you host and why?

  • Mike Wooskey@lemmy.thewooskeys.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    4 months ago

    I’m trying to deGoogle/deFAANG/deBigData so I try to host FOSS alternatives to every service I use on the internet, though some services won’t be possible or practical (e.g., email).

    I host:

    • audiobookshelf (to stream and sync podcasts between my devices)
    • baikal (to host contacts and calendars)
    • cryptpad (for collaborative spreadsheets and kanban, though it does more than this)
    • drawio (flowchart-like diagrams
    • forgejo (my git repos and oauth2)
    • homepage (personal dashboard of services and links)
    • invidious (youtube frontend)
    • lemmy (duh :) )
    • minio (S3 object storage)
    • mosquitto (mqtt server)
    • nextcloud (can do a lot, but I’m only using it to look at Memories for photo storage and management - I currently selfhost Photostructure, but it’s not FOSS)
    • peertube (youtube alternative)
    • prometheus (metrics monitoring)
    • qbittorrent (torrents)
    • syncthing (currently only used to sync photos from my pixel to my server, but might be replaced if I switch to a photo management app that has an android app that can sync images)
    • tiddlywiki-nodejs (pretty powerful wiki, but I use it just to sync text-based info between devices)
    • traefik (reverse proxy in front of everything I host)
    • tt-rss (RSS feeds)
    • vaultwarden (password management - this is a fork of bitwarden)
    • wordpress (for my personal websites)
    • xbrowsersync (bookmark syncing between browsers/devices)

    I use the d.rymcg.tech framework. It’s a little over my head, but the framework makes it pretty easy to use all the apps. It’s a bit tricky to add new apps to the framework, but it’s fun and all the source is there to learn from and the developer is really nice and really helpful.

    • The Stoned Hacker@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 months ago

      I am also trying to degoogle/debigdata my life, but it seems we’re taking radically different approaches to it. I wish you luck in your journey!

  • slazer2au@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 months ago

    At the moment I am only doing jellyfin but I am looking to expand into pihole, audiobook shelf and some arr stack.

  • 0x0@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 months ago

    The actual services I host? Mail

    What do you use for that?

    What types of things do you host and why?

    Self-hosting as in at home, nothing to the outside world and i’m still sorting a local NAS; i have a VPS with a few websites but that’s not self-hosting category i guess.

    I’d locally-host media stuff but not even that is that important to me atm. Next on my list is 3-2-1 backups so i can reorganize my setup and eventually selfhost a wiregard VPN to access some data.

    • The Stoned Hacker@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 months ago

      I set up a mail stack on Rocky Linux with Postfix, Dovecot, and rspamd. I don’t need a database because it’s all LDAP on the backend, and I don’t have webmail setup right now because I’m lazy. It’s a bit of a hassle to get up and running well but it’s pretty solid and I’m careful about managing my domain reputation so I don’t have any issues with my mail being delivered.

    • Saik0@lemmy.saik0.com
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 months ago

      What do you use for that?

      Because emails can have a boatload of sensitive information (especially when collected en masse, think years and years of emails)… In the day of AI bullshit. Minimizing all that data being directly attached to an account associated with you and owned by google or some other corp seems like a sane desire. If you primary a gmail account… and they start (they probably already are) training on that dataset. Shit is going to get real testy.

      • tburkhol@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        4 months ago

        If you email to people on gmail or outlook, won’t Google and Microsoft still end up with copies of most of your mail?

        • Saik0@lemmy.saik0.com
          link
          fedilink
          English
          arrow-up
          0
          ·
          4 months ago

          Yes, but at the very least they have to do queries to build that profile out across dozens or hundreds of recipients… And they only get what I explicitly sent to them/their users.

          Google collects 100% of the emails you’re getting on gmail and it’s already sent directly to you… so they see it completely… including emails being sent to other sources since it originates from their server (so collecting information that would be going to an MS Exchange server as well…).

          Self hosting this means that you’re collecting your own shit… And companies can only get the outgoing side to their users. And never the full picture of your systems/emails.

          This matters a lot more than you think. Lots of systems for automation sends through systems like Mailchimp, PHPmailer, etc… So those emails from your doctor likely never originated from MS or Google to begin with. When it hits your inbox on Gmail or Outlook… Well now it’s on their system. Now they can analyze it.

      • 0x0@programming.dev
        link
        fedilink
        English
        arrow-up
        0
        ·
        4 months ago

        I meant what software stack do you use to host your email.

        Btw have you encountered issues with receiving/sending mail through that account, considering the ongoing cartelization?

        • Saik0@lemmy.saik0.com
          link
          fedilink
          English
          arrow-up
          0
          ·
          4 months ago

          Mailcow.

          Personally. No. The hardest part is getting a clean IP and to setup PTR records for a static IP. The rest has been easy for me personally… but I do this shit for a living so I might be biased.

  • ITGuyLevi@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 months ago

    I host way more than I probably should, but everyone should have some stuff like immich, vaultwarden, and nextcloud. I also like to host gitea and 30+ other things (check out netboot.xyz, it isn’t something everyone needs but why wouldn’t you want to be able to boot off the network), but that’s just what some people do as a hobby I guess lol.

    • Possibly linux@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 months ago
      • Bittersweet chocolate chips: We melt 60% cacao bittersweet chocolate baking chips into the buttery base.

      • Butter: The unsalted butter in this recipe operates like an emulsifier—stabilizing the fat and the liquids—resulting in a tender cookie.

      • Eggs: We rely on eggs to help leaven and form the shape of these chocolate brownie cookies.

      • Sugar: The sugar imparts sweet notes into these brownie cookies while caramelizing their edges.

      • Vanilla extract: We add a splash of vanilla extract to help enhance the sweetness of the chocolate in these brownie cookies.

      • Petunias: Pretty petunias are popular because of their exceptionally long flowering period. As with most annuals, they get leggy by midsummer, so you’ll want to prune the shoots back by half. See more tips on planting and caring for petunias to keep them blooming.

        • Diurnambule@jlai.lu
          link
          fedilink
          English
          arrow-up
          0
          ·
          4 months ago

          Yeah hosting email as a company is a pain. I can’t imagine selhosting it. At least in a company people can search you online.

          • Neshura@bookwormstory.social
            link
            fedilink
            English
            arrow-up
            0
            ·
            4 months ago

            The worst part really is just getting off the damn spam lists. There is almost no documentation anywhere for do’s and dont’s. I ultimately had to setup a sending relay for the mail on my status monitoring VPS because my residential IP triggered most spam filters, but I only found out that that was the problem from forum posts investigating the same problem. I check with stuff like mail-tester, get back perfect scores and yet most of my outgoing emails have a good chance to land in the spam folder anyway (but at least they get delivered so that’s a plus I guess)

            As others in other threads have said: Google and Microsoft have killed the ability to self-host email simply by black-boxing their spam filters. As a user you have no real way to fix your mail server such that your emails get delivered into the inbox reliably.

            • Diurnambule@jlai.lu
              link
              fedilink
              English
              arrow-up
              0
              ·
              4 months ago

              I feel ya. And this doesn’t take in account users who put one of you mail in spam and it blacklist you for the whole org…

  • smiletolerantly@awful.systems
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    4 months ago

    (Preface: almost all of this is handled in a single Nix config, and no docker in use at all)

    At home, in a two-hosts Proxmox cluster:

    • blocky for adblocking
    • a full *arr stack with torrents and nzbs for uuuuuuhhh Linux ISOs
    • Jellyfin so friends and family can watch, I mean use the Linux ISOs
    • Paperless (HIGHLY recommend)
    • Wastebin (Pastebin alternative)
    • Sterling-PDF (also really recommend, allowed me to get rid of Acrobat Reader for filling out and signing PDFs, plus a bunch more)
    • Homeassistant
    • Linux and Windows clients available for whenever you might need them (not often, but can come in handy)
    • Borg client, backing up parts of my NAS to a cloud storage box
    • OPNSense backup for the hardware firewall
    • Forgejo

    On a bare metal machine at a reputable cloud provider:

    • my personal Email, Calendar, Contacts (super easy with Nix)
    • another blocky instance
    • another borg client
    • Rustdesk server (OSS Teamviewer)
    • wireguard that’s just used by my TV so crunchyroll thinks it’s in (other country), Lmao

    Wishlist:

    • Vaultwarden
    • Immich, once added to nixpkgs
    • PeerTube
    • Pixelfed
    • devraza@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      3 months ago

      If you want to keep everything inside a singular Nix configuration while still using Docker, you can check out the NixOS option virtualisation.oci-containers - essentially, a declarative way of managing docker/podman containers (similar to docker-compose) but with Nix.

      • smiletolerantly@awful.systems
        link
        fedilink
        English
        arrow-up
        0
        ·
        3 months ago

        I know it’s been three weeks, but thanks for telling me about this! I might actually do this, for the projects here and there which aren’t packaged into nixpkgs (yet).

    • klassasin@programming.dev
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 months ago

      Any chance you could share any of your Nix config? I’m curious how it’s being used with Proxmox (I’m using ansible and terraform right now).

      • smiletolerantly@awful.systems
        link
        fedilink
        English
        arrow-up
        0
        ·
        4 months ago

        I thought about adding a link, but am a bit hesitant to de-anonymize myself on here 😅

        But it’s basically this:

        • Proxmox is not Nix configured. There’s a project for that, but IMO t’ll take a couple of years to be ready for production.
        • I’ve created a custom nix module that essentially just sets my default values for stuff like bios type, boot order,… And allows to set CPU cores, RAM, IP,…
        • all this does though is just setting the corresponding values from the nixos-generators proxmox output
        • additionally, all the usual stuff is handled (user, known ssh keys, base config of the system)
        • for each VM, I only have a single file containing the VM settings (ID, RAM, cpu, ip,…) and the service config for whatever the VM is for
        • then lastly I have a custom script/shell that essentially just allows to do “nixvm-new <flake output name>” which generates the image, moves it to the nas, and calls on proxmox to import the image, plus some cleanup

        TBH this sounds way more complicated than it is / feels to use 😄

  • SolidGrue@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 months ago

    I used to selfhost more, but honestly it started to feel like a job, and it was getting exhausting (maybe also irritating) to keep up with patches & updates across all of my services. I made decisions about risks to compromise and data loss from breaches and system failures. In the end, In decided my time was more valuable so now I pay someone to incur those risks for me.

    For my outward facing stuff, I used to selfhost my own DNS domains, email + IMAP, web services, and an XMPP service for friends and family. Most of that I’ve moved off to paid private hosting. Now I maintain my DNS through Porkbun, email through MXroute, and we use Signal instead of XMPP. I still host and manage my own websites but am considering moving to a ghost.org account, or perhaps just host my blogs on a droplet at DO. My needs are modest and it’s all just personal stuff. I learned what I wanted, and I’m content to be someone else’s customer now.

    At home, I still maintain my custom router/firewall services, Unifi wireless controller, Pihole + unbound recursive resolver, Wireguard, Jellyfin, homeassistant, Frigate NVR, and a couple of ADS-B feeders. Since it’s all on my home LAN and for my and my wife’s personal use, I can afford to let things be down a day or two til I get around to fixing it.

    Still need to do better on my backup strategies, but it’s getting there.

  • MangoPenguin@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 months ago

    For sure anything with private data involved, aside from my email.

    So everything to do with images, videos, file/document storage, etc…

    Also game servers because they’re generally very easy to host at home, and due to generally high RAM and storage needs paying for hosting can be quite pricey.

    • Laser@feddit.org
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 months ago

      Also game servers because they’re generally very easy to host at home, and due to generally high RAM and storage needs paying for hosting can be quite pricey.

      Really?

      I thought this was more the case with flexible providers like DigitalOcean. My current provider charges 5,36€ per month for 4 cores (though I assume this corresponds rather to 2 SMT-enabled cores), 6 GB of RAM and a 400 GB SSD. It offers better latency for most players (obviously not for myself) and in most cases has been sufficient regarding performance.

  • Hellmo_luciferrari@lemm.ee
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 months ago

    I want to self host more, but power draw is a concern.

    So I have gone the route of running to Pi 4 8gb models as my hosts of choice.

    So far I am hosting:

    Non-Docker:

    • PiHole
    • Unbound
    • Wireguard (and Wireguard-UI)

    Docker:

    • ForgeJo
    • Dozzle
    • Homarr
    • LinkWarden
    • Traefik
    • Watchtower

    There are a few other services I want to get up, but I haven’t gotten around to it:

    • Jellyfin
    • Immich
    • Nextcloud

    As to why:

    • ForgeJo to host my own git repositories (Docker Compose files, Chezmoi dot files, Miscellaneous configs)
    • PiHole for ad blocking
    • Unbound, well, having my own DNS
    • Wireguard so I can connect to my home network
    • Dozzle for easy log checking for my docker containers
    • Linkwaren so I can backup bookmarks in a privacy friendly way
    • Homarr for easy access to other web services I host
    • Traefik so I can resolve IP:port to a hostname with SSL certificates even though everything I host is internal only
    • Watchtower to update my Docker containers
  • unrushed233@lemmings.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 months ago
    • Home Assistant
      There’s no fucking way I’m using a cloud service to control parts of my home, that just feels so wrong to me on so many levels

    • Nextcloud
      There’s no way I’m saving my files on someone else’s computer (the Cloud). Even with encryption, it’s expensive. Hard drives are cheap. Put them in a server, install Nextcloud and you have your private, cheap, independent cloud service.

    • Immich (currently migrating to Enter) for my photos

    • Jellyfin + arr Stack
      I’m not paying $100/month for 5 different streaming services to have access to all the content I like.

    • Navidrome for my (pirated) music

    • Audiobookshelf for audiobooks and podcasts

    • Pi-Hole with Unbound set up as a recursive resolver, cause why should I trust someone else with DNS?

    I also self-host Matrix or Revolt servers as well as game servers for me and my friends, because it’s much cheaper than getting VPS or a hosted option, and I already have this server that I use for a bunch of other stuff, so I can also just use it for that.

  • Saiwal@hub.utsukta.org
    link
    fedilink
    arrow-up
    0
    ·
    4 months ago

    Public services: my social network(hubzilla), Email(mailcow), Matrix chat, Peertube.

    Private: my media (jellyfin, audiobookshelf, calibre, homeassistant.

    I enjoy the freedom that comes with this and its like having your own home on the internet. I have a very modest setup but its enough to host my friends and family so nothing fancy like k8s. Just a refurbished optiplex running docker :)

    • LifeBandit666@feddit.uk
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 months ago

      Me too, except it’s Adguard for me.

      Came in handy yesterday actually. I have a friend who works for a University which was recycling some Chromebooks.

      He managed to grab 3 for me, one for myself and one for my kids.

      Problem is that one of my kids is being supervised through Google Family Link which means for some reason the Play Store won’t work.

      So he is now unsupervised in Family Link just to get the Chromebook working.

      So I’ve just given both my kids static IPs and pointed their Chromebooks at Adguard, then turned on Safe Search and adult content blocking.

      Now I’m fairly confident they’re protected from a lot of the bad shit on the internet.

      • Swarfega@lemm.ee
        link
        fedilink
        English
        arrow-up
        0
        ·
        4 months ago

        I’ve configured my kids devices to use NextDNS, that way they are getting filtering no matter what network they use.

        AdGuard does what I need internally, it’s just external is the issue. VPN’s are not a solution, my kids are old enough to know they can just disable it to work around it. They don’t know about the Private DNS option that I have configured on their devices… Yet

  • Decronym@lemmy.decronym.xyzB
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    4 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
    DNS Domain Name Service/System
    IP Internet Protocol
    LAMP Linux-Apache-MySQL-PHP stack for webhosting
    PiHole Network-wide ad-blocker (DNS sinkhole)
    Plex Brand of media server package
    VPS Virtual Private Server (opposed to shared hosting)
    k8s Kubernetes container management package

    [Thread #871 for this sub, first seen 15th Jul 2024, 16:35] [FAQ] [Full list] [Contact] [Source code]

  • tburkhol@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 months ago

    pihole, in front of my own DNS, because it’s easier to have them to domain filtering.

    mythtv/kodi, because I’d rather buy DVDs than stream; rather stream than pirate; but still like to watch the local news.

    LAMP stack, because I like watching some local sensor data, including fitness equipment, and it’s a convenient place to keep recipes and links to things I buy regularly but rarely (like furnace filters).

    Homeassistant, because they already have interfaces to some sensors that I didn’t want to sort out, and it’s useful to have some lights on timers.

    I also host, internally, a fake version of quicken.com, because it lets me update stock quotes in Quicken2012 and has saved me having to upgrade or learn a new platform.

    • Snot Flickerman@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 months ago

      Do you have any input on whether running your Pi-Hole as your DNS service versus how you have it, with pi-hole in front of a standalone DNS server, as to which is functionally “more better?”

      I had been toying with making my pi-hole into a full DNS server using Unbound, but I had been debating if it would be better to have that service running seperately.

      • Encrypt-Keeper@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        4 months ago

        Unbound is incredibly lightweight. There’s no reason not to just have it running on the same box as your pihole.

      • tburkhol@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        4 months ago

        I have isc-bind running behind pihole so network clients can register their own hostnames, and as near as I can tell, that’s outside the scope of pihole’s DHCP and dnsmasq. Pihole alone is probably fine if you only want to name static hosts, but (I understand) Unbound doesn’t support ddns, either.

        • SolidGrue@lemmy.world
          link
          fedilink
          English
          arrow-up
          0
          ·
          4 months ago

          Unbound will take updates via API. You could either write exit hooks on your clients, or use the “on commit” event on isc-dhcp-server to construct parameters and execute a script when a new lease is handed out.