this post was submitted on 01 Jul 2025
237 points (99.2% liked)

Selfhosted

50522 readers
828 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 2 years ago
MODERATORS
 

Recently, I've found myself walking several friends through what is essentially the same basic setup:

  • Install Ubuntu server
  • Install Docker
  • Configure Tailscale
  • Configure Dockge
  • Set up automatic updates on Ubuntu/Apt and Dockge/Docker
  • Self-host a few web apps, some publicly available, some on the Tailnet.

After realizing that this setup is generally pretty good for relative newcomers to self-hosting and is pretty stable (in the sense that it runs for a while and remains up-to-date without much human interference) I decided that I should write a few blog posts about how it works so that other people can set it up for themselves.

As of right now, there's:

Coming soon:

  • Immich
  • Backups with Syncthing
  • Jellyfin
  • Elementary monitoring with Homepage
  • Cloudflare Tunnels

Constructive feedback is always appreciated.

EDIT: Forgot to mention that I am planning a backups article

all 48 comments
sorted by: hot top controversial new old
[–] Wispy2891@lemmy.world 44 points 1 month ago (3 children)

Set up automatic updates

Immich

You like to live dangerously, right?

[–] metaStatic@kbin.earth 16 points 1 month ago (1 children)
[–] nis@feddit.dk 21 points 1 month ago

Here. You dropped this: /s

[–] cyclicircuit@lemmy.dbzer0.com 4 points 1 month ago

Yeah a little xD but FWIW this article series is based on what I personally run (and have set up for several friends) and its been doing pretty well for at least a year.

But I have backups which can be used to recover from the issues with breaking updates.

[–] possiblylinux127@lemmy.zip -2 points 1 month ago (1 children)
[–] curled@lemmy.dbzer0.com 12 points 1 month ago

I haven't tried photoprism in a while, but when I tried it, it wasn't even close.

Photoprism seems more suited if you're a photographer to index your professional work where immich aims to be a google photos/icloud alternative.

Immich has native mobile apps to do the syncing and provide a (great) interface for search, it has much better multi-user support, including sharing albums, and much more features than I'm willing to type out here.

The only thing missing, for me at least, is better support for local files to eliminate the need for another gallery app/file picker.

[–] some_guy@lemmy.sdf.org 11 points 1 month ago

Even though I’m already experienced in self-hosting, I absolutely love that you’re making this available. We need more on-ramps for newbies. Cheers!

[–] cyclicircuit@lemmy.dbzer0.com 10 points 1 month ago (2 children)

Naturally, the same day that I publish this, I discover that Watchtower is semi-abandoned, so I'm gonna have to look into alternatives to that...

[–] irmadlad@lemmy.world 6 points 1 month ago (1 children)

Just call me Mr. BuzzKill. LOL I learned that there is a fork at https://watchtower.devcdn.net/. Deployed it yesterday, and for the first round of updates, everything went as it should. No runs, no drips, no errors. Time will tell.

[–] cyclicircuit@lemmy.dbzer0.com 1 points 1 month ago

Sweet! Thank you! I'll test it out and update the blog posts to reflect that

[–] possiblylinux127@lemmy.zip 1 points 1 month ago

Podman has optional autoupdates

[–] FarraigePlaisteach@lemmy.world 8 points 1 month ago (1 children)

In case it’s of help, a common problem I find with guides in general is that they assume I don’t already use Apache (or some other service), and describe as though I’m starting with a clean system. As a newbie, it’s hard to know what damage the instructions will do to existing services, or how to adapt the instructions.

Since docker came along it’s gotten easier, and I’ve learned enough about ports etc to be able to avoid collisions. But it would be great if guides and tutorials in general covered that situation.

[–] cyclicircuit@lemmy.dbzer0.com 5 points 1 month ago

Hmmmm that's a good point. I'll try to work. that in P: cause Tailscale can cause issues if you're already doing Wireguard or something.

[–] selokichtli@lemmy.ml 4 points 1 month ago* (last edited 1 month ago)

This is appreciated. As a hobbyist, I feel like my setup is hold by pins.

EDIT: I rely on Nextcloud, BTW.

[–] gedaliyah@lemmy.world 4 points 1 month ago

This is great, thanks!

[–] lol_idk@lemmy.ml 3 points 1 month ago (1 children)

Did I miss the part where we set up the server?

[–] cyclicircuit@lemmy.dbzer0.com 1 points 1 month ago (1 children)

Its covered in the introduction what's expected of the reader and server setup, and towards the end of the intro I go over the unattended-upgrades setup.

[–] lol_idk@lemmy.ml 1 points 1 month ago

So yes, there's nothing about setting up Ubuntu, just that you have to have it set up already

[–] myrmidex@belgae.social 2 points 1 month ago

Nice, thanks for that! Bonus points for using DockGE, I prefer that over portainer as well!

[–] alekwithak@lemmy.world 2 points 1 month ago

Hell yeah, dude.

[–] oyzmo@lemmy.world 2 points 1 month ago

Thanks 😊👌🏻

[–] MuteDog@lemmy.world 1 points 1 week ago

I've been following your posts to set up some self hosting and it's been going well so far, thank you!

I have noticed that a lot of the images in the posts don't seem to be loading (422 errors), it hasn't been too much of a deal breaker so far but in the section about running tailscale in a container and editing the acls file there's a couple images that are showing the before and after of this file that aren't loading for me. Hopefully this is something that isn't too difficult for you to fix.

Thanks again for these posts, I've learned a lot so far and even got jellyfin working on my phone outside my local network using tailscale.

[–] anzo@programming.dev 0 points 1 month ago (1 children)

Try Pangolin instead of cloudfare, though it requires a VPS (e.g. oracle free tier, or pay €1/month to ionos)

[–] SidewaysHighways@lemmy.world 1 points 1 month ago (1 children)

I'm hesitant to ask because I'm running pangolin also, but why are there downvotes here? did i miss something about pangolin?

[–] anzo@programming.dev 2 points 1 month ago (1 children)

it could also be because I mentioned oracle :P

[–] SidewaysHighways@lemmy.world 1 points 1 month ago

i guess i hope so!