Live data from Hacker News

Self-hosting my photos with Immich

michael.stapelberg.ch

91–100 of 384 posts

Re: Self-hosting my photos with Immich

#91
post #72
post #56

There is something to be said about NixOS, it really is a matter of setting `services.immich.enable = true;` in a configuration file. I find this really powerful and simpler than docker and docker-compose. But don't get me wrong, I am all for containerization when it comes to other OS/distros. Yes, there is a learning curve for the Nix language and creating your own packages. But anyone who can install a distro can i…

My problem with NixOS is the second you try to go "outside the guardrails", the difficulty increases 100x

Kind of the same for docker? Plopping a docker compose file and setting up few environment vars vs writing dockerfiles from scratch.

Re: Self-hosting my photos with Immich

#92
post #62
post #4

Self hosting used to mean conceding on something. I can honestly say Immich is better in every way than Google Photos or whatever Apple calls it. The only thing is having to set it up yourself.

Does your phone silently and reliably upload all the photos to your server? My guess you're conceding on that part. How's the offline app support? My full library (30k items) is available on my phone (not in high res). There are a lot more concessions I'm sure.

The sync really is quite good. On wifi it's basically seamless. If I had 30k new images though it would be much faster to use the immich-go tool mentioned in the blog post.

Offline support is alright, though I haven't worried about this much. I think it doesn't do any local deletion, so whatever stays in your DCIM folder is still on device.

Re: Self-hosting my photos with Immich

#93
post #72

Earlier quoted context omitted.

My problem with NixOS is the second you try to go "outside the guardrails", the difficulty increases 100x

Kind of the same for docker? Plopping a docker compose file and setting up few environment vars vs writing dockerfiles from scratch.

Not really. No. You can easily checkout repo containing the Dockerfile, add a Dockerfile override, change most of the stuff while maintaining the original Dockerfile instact and the ability to use git to update it. Then you change one line in docker-compose.yaml (or override it if it's also hosted by the repo) and build the container locally. Can't imagine easier way to modify existing docker images, I do this a lot with my self-hosted services.

Re: Self-hosting my photos with Immich

#94
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…

Also it has a very rich ACL system. The Immich node can be locked out from accessing any other node in the network, but other nodes can be allowed to access it.

Re: Self-hosting my photos with Immich

#96
post #8

Docker + Immich + Tailscale is the killer replacement to Google & Apple Photos, it's simply that simple

I want to love Tailscale on mobile, but it conflicts with Adguard and regularly disconnects. I keep Tailscale but switched over to Pangolin for access most of my self-hosted services.

With pangolin you are exposing it otside your private network right? Its public website. That might be undesireable for security.

Re: Self-hosting my photos with Immich

#97
post #26

Earlier quoted context omitted.

How does sharing an album with others work on Immich?

You get a link and you can set read or write permissions on it. Whoever gets that link can browse it in a web browser. I've used this to share albums of photos with gatherings of folks; it works very well. It does assume you have your Immich installation publicly available, however. (Not open to the public, but on a publicly accessible web server)

OK. Then you concede your security, as I can't imagine any single person self-hosting can be better at keeping their public service more secure than engineers at Google can. Especially with limited time.

Re: Self-hosting my photos with Immich

#98

Earlier quoted context omitted.

just disable auto-upload and then manually upload the ones you want to. There is a setting to share your immich library with someone else. Between those two features, you should get something close to what you want.

For me one of the killer things would be to click "share" on a photo I took, and then have the immich albums show up so I can put them in that specific place as like a 3 click process. That's basically what I was building my whole app around

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

Re: Self-hosting my photos with Immich

#99
Very nice the author uses tailscale serve! It's an underrated, and unfortunately under documented, way to host a web service directly to Tailscale. With that you can run a docker compose stack with one extra tailscale container, and then it's immediately a self contained and reasonably portable web server in your tailnet.

Immich really is fantastic software, and their roadmap is promising. I hope they have enough funding to keep going.

Post reply on HN