Update read-only-gallery.md (#3191)

Prevent Immich from having write access to volumes that should only be read.
pull/3198/head
Johan Stenehall 2023-07-10 03:19:48 +07:00 committed by GitHub
parent 50f26374e3
commit 785f61ba70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

@ -42,8 +42,8 @@ We will use those values in the steps below.
command: [ "start.sh", "immich" ]
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
+ - /mnt/media/precious-memory:/mnt/media/precious-memory
+ - /mnt/media/childhood-memory:/mnt/media/childhood-memory
+ - /mnt/media/precious-memory:/mnt/media/precious-memory:ro
+ - /mnt/media/childhood-memory:/mnt/media/childhood-memory:ro
env_file:
- .env
depends_on:
@ -58,8 +58,8 @@ We will use those values in the steps below.
command: [ "start.sh", "microservices" ]
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
+ - /mnt/media/precious-memory:/mnt/media/precious-memory
+ - /mnt/media/childhood-memory:/mnt/media/childhood-memory
+ - /mnt/media/precious-memory:/mnt/media/precious-memory:ro
+ - /mnt/media/childhood-memory:/mnt/media/childhood-memory:ro
env_file:
- .env
depends_on: