Mount external library for immich

This commit is contained in:
Peter Smit
2026-01-25 14:32:30 +01:00
parent bc10065147
commit 6bb1159d85
2 changed files with 3 additions and 1 deletions

View File

@@ -8,3 +8,5 @@ IMMICH_POSTGRES_USER=
IMMICH_POSTGRES_PASSWORD= IMMICH_POSTGRES_PASSWORD=
REDIS_HOSTNAME= REDIS_HOSTNAME=
IMMICH_EXTERNAL_MEDIA_LOCATION=

View File

@@ -6,8 +6,8 @@ services:
# file: hwaccel.transcoding.yml # file: hwaccel.transcoding.yml
# service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding # service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding
volumes: 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 - ${UPLOAD_LOCATION}:/data
- ${IMMICH_EXTERNAL_MEDIA_LOCATION}:/external:ro
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
env_file: env_file:
- .env - .env