Hello everybody. Newbie here.
I’ve installed Immich via Docker and I’m having an issue with Immich using a local directory for storage. From what I understand I need to bind the directory I want to use so that it uses it within the container. I edited the .env to reflect the bind and after some trial and error, managed to get it to compose without generating any errors, however it does not use the intended drive, instead using the local storage. The end result is that Immich loads, is available and works as expected, but no files are stored in the storage location I actually want to use, instead everything is stored in /library in the container.
I’m missing something, what is it? I appreciate any and all help.
The storage I want to use: /mnt/pools/media/photos
The directory in the Docker container: /docker/immich-app/library
I’m using Mint 22.1 Ver 6.4.8 w/ 6.8.0-86 generic
Docker Ver 28.5.1-1
My .yml is default, no changes made.
My .env file
# You can find documentation for all the supported env variables at https://docs.immich.app/install/environment-variables
# The location where your uploaded files are stored
UPLOAD_LOCATION=/mnt/pools/media/photos:/docker/immich-app/library
# The location where your database files are stored. Network shares are not supported for the database
DB_DATA_LOCATION=./postgres
# To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
TZ=America/Denver
# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=release
# Connection secret for postgres. You should change it to a random password
# Please use only the characters `A-Za-z0-9`, without special characters or spaces
DB_PASSWORD=******
# The values below this line do not need to be changed
###################################################################################
DB_USERNAME=postgres
DB_DATABASE_NAME=immich