From 6bb1159d85a7152c72bdeb608ba1f8ffa1220fd0 Mon Sep 17 00:00:00 2001 From: Peter Smit Date: Sun, 25 Jan 2026 14:32:30 +0100 Subject: [PATCH] Mount external library for immich --- immich/.env.example | 2 ++ immich/docker-compose.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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