Jj_cale
IImmich
•Created by Jj_cale on 12/27/2024 in #help-desk-support
Pulling my hair out with Immich Docker Compose setting in Unraid
I have spent at least 10 hours on this since yday and I just could not figure this one out.
What I am trying to do, is to put all the actual photo upload here at share Immich_photo, which sits on my array and I would like to the rest elements, thumbs, profiles, ML models and temp uploads to go to a share called immich_cache, which is a share that sits only on my cache.
I have tried to follow the guide here: https://github.com/immich-app/immich/discussions/2328#discussioncomment-5712579
Here is my .env file where I mapped everything:
DB_DATA_LOCATION=/mnt/user/appdata/postgres/
LIBRARY_LOCATION=/mnt/user/immich_photos/
UPLOAD_LOCATION=/mnt/user/immich_cache/upload/
THUMBS_LOCATION=/mnt/user/immich_cache/thumbs/
PROFILE_LOCATION=/mnt/user/immich_cache/profile/
VIDEO_LOCATION=/mnt/user/immich_cache/encoded-video/
ML_LOCATION=/mnt/user/immich_cache/ml/
and here are my compose file where I added the vol:
immich-server:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- ${LIBRARY_LOCATION}:/usr/src/app/upload/library
- ${THUMBS_LOCATION}:/usr/src/app/upload/thumbs
- ${PROFILE_LOCATION}:/usr/src/app/upload/profile
- ${VIDEO_LOCATION}:/usr/src/app/upload/encoded-video
- ${ML_LOCATION}:/usr/src/app/upload/ml
- /etc/localtime:/etc/localtime:ro
immich-machine-learning: - ${UPLOAD_LOCATION}:/usr/src/app/upload - ${LIBRARY_LOCATION}:/usr/src/app/upload/library - ${THUMBS_LOCATION}:/usr/src/app/upload/thumbs - ${PROFILE_LOCATION}:/usr/src/app/upload/profile - ${VIDEO_LOCATION}:/usr/src/app/upload/encoded-video - ${ML_LOCATION}:/usr/src/app/upload/ml - /etc/localtime:/etc/localtime:ro
Once I made the modification, I couldn't even get the immich-server docker to start (it just keeps on restarting). I am pretty sure something is wrong with the way I mapped the vol somehow but I am just not skilled enough with docker to figure it out. been going at it for hours and hours... any ideas?
immich-machine-learning: - ${UPLOAD_LOCATION}:/usr/src/app/upload - ${LIBRARY_LOCATION}:/usr/src/app/upload/library - ${THUMBS_LOCATION}:/usr/src/app/upload/thumbs - ${PROFILE_LOCATION}:/usr/src/app/upload/profile - ${VIDEO_LOCATION}:/usr/src/app/upload/encoded-video - ${ML_LOCATION}:/usr/src/app/upload/ml - /etc/localtime:/etc/localtime:ro
Once I made the modification, I couldn't even get the immich-server docker to start (it just keeps on restarting). I am pretty sure something is wrong with the way I mapped the vol somehow but I am just not skilled enough with docker to figure it out. been going at it for hours and hours... any ideas?
160 replies