© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•14mo ago•
159 replies
Jj_cale

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?
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements
Next page

Similar Threads

unRaid + immich compose + tailscale
ImmichIImmich / help-desk-support
5mo ago
Change Folders - Docker Compose - Unraid
ImmichIImmich / help-desk-support
5mo ago
Immich Docker Compose fail
ImmichIImmich / help-desk-support
3mo ago
Setting up Immich on Unraid
ImmichIImmich / help-desk-support
2mo ago