52 points

Who the hell is pulling the docker-compise.yml automatically every release? I find myself already crazy by pulling the latest release but the compose file is just a disaster waiting to happen.

permalink
report
reply
25 points

I honestly never once thought to do this. Ever. No likey.

permalink
report
parent
reply
11 points
*

Especially since the original doesn’t care about selinux and it would overwrite everything.

And it doesn’t specify a repository which breaks auto updates of podman

permalink
report
parent
reply
5 points

Complete insanity.

Then again it seems like people were using a docker volume to save all their precious photos rather than a mount point on the host. Also seems insane to me.

permalink
report
parent
reply
5 points
*

Could you explain a bit more about why it’s insane to have it as a docked volume instead of a mount point on the host? I’m not too well-versed with docker (or maybe hosting in general)

Edit: typo

permalink
report
parent
reply
2 points

A normal file system is something anything can access. You can open it in file browser. You can get to it via command line. You can ssh into from another computer and you can easily back it up with numerous tried and tested backup methods.

Why lock yourself into only being able to access your data via docker?

In a disaster scenario when you are trying to recover files, you will greatly appreciate being able to just see all the files super easily without anything fancy. It also means you can use any standard method to back up all those file.

Recovery is also almost as easy, copy the files back to where they were and just run the docker container.

permalink
report
parent
reply
2 points

What’s the difference? The docker volume, on my setup anyway, is in /mnt/md0/docker-data/immich_upload/_data/

It’s still a directory on the host either way? Although I guess if it’s a mount point it won’t get removed when removing volumes in docker.

permalink
report
parent
reply
2 points

That last point is the important one. For important data, I want the setup to be as easily accessible and system agnostic as possible.

permalink
report
parent
reply
17 points
*

I mounted that volume the first time I opened immich’s compose file, glad they changed it =)

permalink
report
reply
8 points

lol same I like to know exactly where the data is

permalink
report
parent
reply
6 points

Me too!

- /opt/immich/postgres:/var/lib/postgresql/data
permalink
report
parent
reply
5 points

Exactly this, my docker host has a folder for docker data. In there are sub folders for each docker app. Borg back grabs the entire docker data folder and backs it up.

If there are any issues, I can easily see all the files.

I have no idea how people trust things like docker volumes with valuable data without the ability to just see into the filesystem easily.

permalink
report
parent
reply
2 points

I’m not using immich in docker. Can you explain what this breaking is there to fix?

permalink
report
parent
reply
7 points

The datbase files were saved in an internal docker directory and the breaking change is that the location is now different, outside of docker.

permalink
report
parent
reply
15 points
11 points

I was surprised to see the default compose file not force the user to specify an external directory for the database.

permalink
report
reply
10 points

Who was pulling the dicker compose and just straight up running the GitHub version on their server. That seems crazy. Even pulling :latest tag seems crazy to me but this is another level.

This change is only breaking if you are running someone else’s docker compose on your server without looking at it.

Also who was running their entire photo album in a docker volume rather than a mount point on the host. Another insane decision. To be fair, the default docker compose never should have had that. It should have been a mount point right from the start.

permalink
report
reply
3 points

I don’t run Immich specifically but all other software I run is on :latest tags and unattended-upgrades on Debian. It works so, why bother?

permalink
report
parent
reply
7 points

Mainly because of the number of things I have that I rely on every day and definitely don’t want to break until I’m ready to upgrade it and have time to fix it if it does break.

I know many do use :latest but having a service break while I’m away or travelling really sucks

permalink
report
parent
reply
1 point

Why would using latest randomly break your containers?

permalink
report
parent
reply
-1 points

Only I rely on my services and if they break I’ll fix them myself.

permalink
report
parent
reply

Selfhosted

!selfhosted@lemmy.world

Create post

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!

Community stats

  • 4.9K

    Monthly active users

  • 3.5K

    Posts

  • 75K

    Comments