Live data from Hacker News

Self-hosting my photos with Immich

michael.stapelberg.ch

361–370 of 384 posts

Re: Self-hosting my photos with Immich

#361
post #40

Earlier quoted context omitted.

I don't get the appeal of Tailscale for simple homelab use. I have OpenVPN and it's trivial. Hit the toggle and I'm connected, no fuss.

Tailscale (and similar services) is an abstraction on top of Wireguard. This gives you a few benefits: 1. You get a mesh network out of the box without having to keep track of Wireguard peers. It saves a bunch of work once you’re beyond the ~5 node range. 2. You can quickly share access to your network with others - think family & friends. 3. You have the ability to easily define fine grained connectivity policies. F…

[deleted]

Re: Self-hosting my photos with Immich

#362
post #98

Earlier quoted context omitted.

Just have immich app to sync only certain album? And add photos to that album. Seems like solved feature?

I don't think he's here looking for a solution.

Well I am looking for the laziest solution possible. Hoping not to have to build it, but I prefer building something than trying to configure 50 different things to make it work how I want it to for my whole family.

I just want one click albums. Apparently this is the hill I'll die on.

Re: Self-hosting my photos with Immich

#363
post #301

Earlier quoted context omitted.

Tailscale routes my mobile device dns through my pile back at the home. I have nginx setup with easy to remember domains (photos.my domain.com) that work when i’m away as well without exposing anything to the open internet.

Why not call it VPN if that's what it is? In your case, it sounds like configuring your "pile" (is that a DNS server, short for pihole maybe?) on your phone would do the same thing, but if the goal is to not expose anything to the open internet, a VPN would be the thing that does that

your internet traffic isn’t routed through it like a traditional vpn.

Re: Self-hosting my photos with Immich

#364
post #355

Earlier quoted context omitted.

Any idea how much it uses when you're not uploading new pictures? If it just needs it on occasion (and I can control when by not uploading at times where I'm using it for other purposes), that would probably be worth it since I have the spare capacity 99% of the time

I think you can disable machine learning stuff in the settings. And yes, you can control when the sync happen, or even have it only triggered manually and never automatically. My instance when not running any photo/video processing job: - immich server: cpu: 0.51% ram: 753MiB - immich redis: cpu: 0.48 ram: 19.64MiB - immich machine learning: cpu: 0% ram: 209.3MiB

That's not little RAM, I wonder if it keeps the model on stand-by, but ~1GB is definitely more reasonable than 4-6! Thanks for sharing!

Re: Self-hosting my photos with Immich

#365
post #356

Earlier quoted context omitted.

Ah, by using their servers: > How do we break the deadlock? That’s where STUN comes in. [...] In Tailscale, our coordination server and fleet of DERP (Detour Encrypted Routing Protocol) servers act as our side channel

Yes, NAT traversal is used widely. It is only needed at the start of the connection to get both firewalls to open ports. The encrypted wireguard tunnel is point to point

What I find crazy is that people describe "not self hosting" as a "like magic" solution to self hosting

Re: Self-hosting my photos with Immich

#366

Earlier quoted context omitted.

This is my favorite use of CLI AI coding tools: updating my nix config. I can just ask my computer to configure services for me!

I remember when people claimed to use NixOs in order to have a deterministic, repeatable setup.

my setup is SO deterministic and repeatable that it hurts sometimes

Re: Self-hosting my photos with Immich

#367
post #148

Earlier quoted context omitted.

> The sync really is quite good. Do you have to ever open the app though? On iOS/Android? In my case I would need it to run on the phones of my family members, and they probably will never open the app.

iOS doesn't allow that sort of pattern for non-Apple applications last time I looked, so probably doesn't work on iOS at all.

Yeah, this and syncthing for keeping our shared password vault file in sync together were 2 of the 3 major reasons my wife's last phone upgrade was a swap from iOS to Android (went with a Pixel 8, which was new at the time).

Since then, Immich and Syncthing+Keepass have worked as well as or better than their proprietary equivalents for my decidedly-non-technical wife.

I did initial setup, and she never has to think about it again. It just works, which is more than I can say for paid cloud subscriptions and their constant nags over exceeded storage space.

Re: Self-hosting my photos with Immich

#368
post #272

Earlier quoted context omitted.

I'll be honest, that does not sound "easy". It is straightforward, but so is the NixOS module system, and I could describe writing a custom module the same way you described custom Docker images.

It isn't the absolutely easiest process. But it works on Ubuntu, it works on Debian, it works on Mac, it works on Windows, it works on a lot of things other than a Nix install. And I have to know Docker for work anyhow. I don't have to know Nix for anything else. You can't win on "it's net easier in Nix" than anywhere else, and a lot of us are pretty used to "it's just one line" and know exactly what that means when…

It only works on Mac and windows as a VM.

Nix is for reproducibility. Nix and docker are orthogonal. You can create reproducible docker image via nix. You can run nix inside docker on systems that doesn’t allow you to create the nix store.

Re: Self-hosting my photos with Immich

#369
post #145

Earlier quoted context omitted.

Why not just use wireguard directly? The configuration is fairly trivial

Even more trivial with Tailscale, so why wouldn’t I use Tailscale to configure wireguard for me?

I'm a bit skeptical that I don't have full control of my keys, but it does seem convenient.

Re: Self-hosting my photos with Immich

#370

How do people handle backups with Immich? Ideally I’d like all my images to be uploaded to object storage if I’m self-hosting.

The documentation describes what files and databases to backup (and how).

It's one command to dump the postgres db, and one folder in the filesystem to back up, I personally use Borg in a daily cronjob.

Post reply on HN