diff --git a/immich/.env.example b/immich/.env.example index 6852f61..31d4a40 100644 --- a/immich/.env.example +++ b/immich/.env.example @@ -8,3 +8,5 @@ IMMICH_POSTGRES_USER= IMMICH_POSTGRES_PASSWORD= REDIS_HOSTNAME= + +IMMICH_EXTERNAL_MEDIA_LOCATION= diff --git a/immich/docker-compose.yml b/immich/docker-compose.yml index 3b15d23..b02fa36 100644 --- a/immich/docker-compose.yml +++ b/immich/docker-compose.yml @@ -6,8 +6,8 @@ services: # file: hwaccel.transcoding.yml # service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding volumes: - # 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 the .env file - ${UPLOAD_LOCATION}:/data + - ${IMMICH_EXTERNAL_MEDIA_LOCATION}:/external:ro - /etc/localtime:/etc/localtime:ro env_file: - .env