News for hackers. Stuff that matters.
Re:Immich – High performance self-hosted photo and video man... by aecsocket on Monday September 08, 2025 @12:39PM (#45170466)
The cheapest possible Hetzner VPS (2 vCPU 40GB SSD) and a Hetzner storage box (1TB) works alright for cheap (less than EUR 10/mo). I store my database on the SSD, and the `/uploads` folder on the storage box attached as a CIFS drive. Put it behind Tailscale and it's worked fine for the past few months.
Re:Immich – High performance self-hosted photo and video man... by mlangenberg on Monday September 08, 2025 @03:34PM (#45172840)
Wouldn’t you want your photos to be encrypted at rest on the Hetzner storage box?
Re:Immich – High performance self-hosted photo and video man... by aecsocket on Monday September 08, 2025 @03:53PM (#45173095)
I don't really care about that, since my threat model doesn't involve Hetzner looking through my photos and training an AI model on them. If/when I move this off to my own hardware, then I'll do full disk encryption, since my threat model may involve someone stealing my hardware.
Re:Immich – High performance self-hosted photo and video man... by j45 on Monday September 08, 2025 @03:55PM (#45173120)
Docker could be run on the VPS, and the storage leg could be encrypted.

I'm presuming some VPS providers allow converting your VPS disk image to something that supports encryption.

Re:Immich – High performance self-hosted photo and video man... by mlangenberg on Monday September 08, 2025 @04:25PM (#45173489)
Is that something that docker can do?

I presume gocryptfs can be used to wrap an SMB mounted Hetzner storage box. Haven’t tried it myself though.

I would be careful storing any personal data on it unencrypted.

Re:Immich – High performance self-hosted photo and video man... by namibj on Tuesday September 09, 2025 @01:58AM (#45177967)
rclone.

Just use rclone if you need to turn object storage semantics usage into an encrypted mount.

It doesn't do well with non-object-storage access patterns but we're not putting an sqlite database on it here so that should be fine.

rclone has a `crypt` layer you can just paper over any of it's backends and still access through any of it's comfortable ways.

I'd personally likely bind mount the database folder over the rclone mount or the other way around, as needed to keep that database on a local filesystem.

Re:Immich – High performance self-hosted photo and video man... by dd_xplore on Tuesday September 09, 2025 @06:29AM (#45180079)
In my experience mounting smb share inside docker containers has been very very unreliable...