this post was submitted on 16 Dec 2023
232 points (97.5% liked)

Selfhosted

39435 readers
5 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 1 year ago
MODERATORS
 

I know we had posts like this before, but Immich deserves πŸ‘

One more update, one less container, the best Google Photos alternative, its just amazing!!

Don't forget to edit your docker-compose before updating

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 11 months ago (2 children)

But it's not that difficult to dedicate Docker compose file for an "immich project" and use exactly as developer suggests. You are not like going to have 100+ users, more like 1-10 users and even RPI would be enough. It's not an issue to have small database along immich project on the same host.

[–] [email protected] 2 points 11 months ago (2 children)

It just doesn't feel right to have multiple postgres databases running, if every other service uses the one in the network. Having already monitoring, disk space and backups set...

[–] [email protected] 3 points 11 months ago

Think this way: postgress db is just part of immich. That's it - separate your services into logical units.

That's actually makes more sense to do at home lab. Bringing down your main DB breaks a lot of your services. By separating - only part would be broken.

My postgress db lives in the same docker compose file where immich is. If I decide to delete immich - it's very simple to run "docker compose down" and delete folders. :)

[–] [email protected] 2 points 11 months ago

Ask yourself what your "job" in the homelab should be: do you want to manage what apps are available or do you want to be a DB admin? Because if you are sharing DB-containers between multiple applications, then you've basically signed up to checking the release notes of each release of each involved app closely to check for changes like this.

Treating "immich+postgres+redis+..." as a single unit that you deploy and upgrade together makes everything simpler at the (probably small) cost of requiring some more resources. But even on a 4GB-ram RPi that's unlikely to become the primary issue soon.

[–] [email protected] 1 points 11 months ago

Though if you have something better than a Pi that would be ideal. Then it can do nice things like face detection, object detection for search, and transcoding.