diff --git a/docs/docs/guides/custom-locations.md b/docs/docs/guides/custom-locations.md index 69844f3dba..b364cccf83 100644 --- a/docs/docs/guides/custom-locations.md +++ b/docs/docs/guides/custom-locations.md @@ -13,14 +13,14 @@ In our `.env` file, we will define variables that will help us in the future whe # Custom location where your uploaded, thumbnails, and transcoded video files are stored - UPLOAD_LOCATION=./library -+ UPLOAD_LOCATION=/custom/location/on/your/system/immich/immich_files -+ THUMB_LOCATION=/custom/location/on/your/system/immich/thumbs -+ ENCODED_VIDEO_LOCATION=/custom/location/on/your/system/immich/encoded-video -+ PROFILE_LOCATION=/custom/location/on/your/system/immich/profile ++ UPLOAD_LOCATION=/custom/path/immich/immich_files ++ THUMB_LOCATION=/custom/path/immich/thumbs ++ ENCODED_VIDEO_LOCATION=/custom/path/immich/encoded-video ++ PROFILE_LOCATION=/custom/path/immich/profile ... ``` -After defining the locations for these files, we will edit the `docker-compose.yml` file accordingly and add the new variables to the `immich-server` and `immich-microservices` containers. +After defining the locations for these files, we will edit the `docker-compose.yml` file accordingly and add the new variables to the `immich-server` container. ```diff title="docker-compose.yml" services: @@ -29,16 +29,6 @@ services: - ${UPLOAD_LOCATION}:/usr/src/app/upload + - ${THUMB_LOCATION}:/usr/src/app/upload/thumbs + - ${ENCODED_VIDEO_LOCATION}:/usr/src/app/upload/encoded-video -+ - ${PROFILE_LOCATION}:/usr/src/app/upload/profile - - /etc/localtime:/etc/localtime:ro - -... - - immich-microservices: - volumes: - - ${UPLOAD_LOCATION}:/usr/src/app/upload -+ - ${THUMB_LOCATION}:/usr/src/app/upload/thumbs -+ - ${ENCODED_VIDEO_LOCATION}:/usr/src/app/upload/encoded-video + - ${PROFILE_LOCATION}:/usr/src/app/upload/profile - /etc/localtime:/etc/localtime:ro ``` @@ -46,7 +36,6 @@ services: Restart Immich to register the changes. ``` -docker compose down docker compose up -d ```