28
submitted 1 month ago* (last edited 1 month ago) by cyclicircuit@lemmy.dbzer0.com to c/selfhosted@lemmy.world

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

top 15 comments
sorted by: hot top controversial new old
[-] Wispy2891@lemmy.world 9 points 1 month ago

Set up automatic updates

Immich

You like to live dangerously, right?

[-] metaStatic@kbin.earth 4 points 1 month ago
[-] nis@feddit.dk 2 points 1 month ago

Here. You dropped this: /s

[-] cyclicircuit@lemmy.dbzer0.com 1 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 0 points 1 month ago
[-] curled@lemmy.dbzer0.com 1 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.

[-] hperrin@lemmy.ca 3 points 1 month ago

This is very cool, but also very dangerous. Many projects release versions that need some sort of manual intervention to be updated, and automatically updating to new versions on docker can lead to data loss in those situations.

Here’s a recent example from Immich:

https://github.com/immich-app/immich/releases/tag/v1.133.0

It is my humble opinion that teaching newbies to do automatic updates will cause them to lose data and break things, which will probably sour them from ever self hosting again.

Automatic OS updates are fine, and docker update notifications are fine, but automatic docker updates are just too dangerous.

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

That's reasonable, however, my personal bias is towards security and I feel like if I don't push people towards automated updates, they will leave vulnerable, un-updated containers exposed to the web. I think a better approach would be to push for backups with versioning. I forgot to add that I am planning a "backups with Syncthing" article as well, I will take this into consideration, add it to the article, and use it as a way to demonstrate recovery in the event of such an issue.

[-] rumba@lemmy.zip 1 points 1 month ago

Been in it since the web was a thing. I agree wholeheartedly. If people don't run auto updates and newbies will not run manual updates, You're just teaching them how to make vulnerabilities.

Let them learn how to fix an automatic update failure rather than how to recover from ransomware. No contest here.

[-] some_guy@lemmy.sdf.org 1 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 1 points 1 month ago

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 1 points 1 month ago

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.

[-] lol_idk@lemmy.ml 0 points 1 month ago

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

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

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

this post was submitted on 01 Jul 2025
28 points (96.7% liked)

Selfhosted

50656 readers
180 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