Skip to content

Commit

Permalink
Mount photos archive read-only
Browse files Browse the repository at this point in the history
  • Loading branch information
kdkasad committed Dec 22, 2024
1 parent dadc02d commit 9b1b253
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion roles/immich/templates/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ services:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
- "{{ immich_data_dir }}/config.json:${IMMICH_CONIG_FILE}"
- /mnt/photosarchive:/mnt/photosarchive
- /mnt/photosarchive:/mnt/photosarchive:ro
env_file:
- .env
depends_on:
Expand Down
2 changes: 1 addition & 1 deletion roles/photos_archive/templates/mnt-photosarchive.mount
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ Wants=network-online.target
What=//SNEETCH/Pictures
Where=/mnt/photosarchive
Type=cifs
Options=username={{ photos_archive_user }},password={{ photos_archive_password }},workgroup=WORKGROUP,uid={{ users.worker }},gid={{ users.worker }},iocharset=utf8,file_mode=0600,dir_mode=0700
Options=ro,username={{ photos_archive_user }},password={{ photos_archive_password }},workgroup=WORKGROUP,uid={{ users.worker }},gid={{ users.worker }},iocharset=utf8,file_mode=0600,dir_mode=0700

0 comments on commit 9b1b253

Please sign in to comment.