Add External Library in Immich

This is very stupid, but it does work 😎😎😎

Edit docker-compose.yml file in Immich directory, adding the green line:

 # Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in th>
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
      - /path-to-pictures:/path-to-pictures
      - /etc/localtime:/etc/localtime:ro
    env_file:

The green line MUST be added between purple lines!

YES it is that stupid, it’s a path to pictures, repeated twice with : sign in between 💩💩💩

Restart Immich:

docker compose up -d

Now you’ll be able to add this path in Immich settings as an external library.

Tested in Debian
Tested in Debian or Pop OS