this post was submitted on 26 Nov 2023
1 points (100.0% liked)

Self-Hosted Main

504 readers
1 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.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

I'm trying to figure out how to configure Immich in the optimal way.

I have a Synology RS812 with 512MB of RAM so not enough to run Docker and Immich, but it has 10.7TBs of storage in SHR1.

I also have a VM farm with 256GBs of RAM and 3TB of usable storage with no RAID.

My initial thought was to host Immich on my VM farm (obviously) and store all the photos on the Synology. Then load the photos as an external library from the Synology. This works, but it means I need to set up an automatic upload to the Synology directory.

The second idea is to give Immich the 3TB on VM Farm, have it store photos locally, and then using Rsync to copy photos over to the Synology automatically. The concern here is if Rsync fails I might not notice for a while which runs the risk of data loss.

How would you configure this?

top 5 comments
sorted by: hot top controversial new old
[–] shadoodled@alien.top 1 points 11 months ago (1 children)

Host Immich on the VM. Enable NFS on the Synology, and mount the shared folder on the VM.

[–] AnApexBread@alien.top 1 points 11 months ago (1 children)

So your vote is an external library

[–] Senkyou@alien.top 1 points 11 months ago

You can, or you can simply declare the network share as the library directory and it'll treat it like a regular directory.

[–] sk1nT7@alien.top 1 points 11 months ago (1 children)

Just use the Synology NAS as NFS share. Mount the NFS share on your server with 256GB RAM and use it as bind volume mounts for immich.

Otherwise, run immich in the server only ans properly backup all volumes to the Synology NAS regularly. Use a backup solution that notifies you if something bricks.

[–] AnApexBread@alien.top 1 points 11 months ago

Would that be better than just mounting the NFS on the host and assigning that directory as the Immich upload directory?