feat: Adds host mount.

This commit is contained in:
2025-04-10 10:50:28 -04:00
parent 8bfcfca843
commit 0b8b99a4ed
2 changed files with 3 additions and 1 deletions

View File

@@ -18,7 +18,7 @@ services:
# 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
- /media/immich:/usr/src/app/upload
- ${MEDIA_MNT}:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
env_file:
- .env

View File

@@ -6,6 +6,8 @@
# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=release
MEDIA_MNT=/mnt # Host path mount for media to be stored.
# Connection secret for postgres. You should change it to a random password
# Please use only the characters `A-Za-z0-9`, without special characters or spaces
DB_PASSWORD=postgres