immich: migrate upload volume from NFS named volume to CIFS systemd bind mount
Replace fragile Docker NFS named volume with /mnt/nas_family/immich-library bind mount backed by systemd mnt-nas_family.mount (permanent CIFS).
This commit is contained in:
@@ -17,8 +17,7 @@ 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}:/usr/src/app/upload
|
||||
- /mnt/nas_family/immich-library:/usr/src/app/upload
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
env_file:
|
||||
- stack.env
|
||||
@@ -84,12 +83,6 @@ services:
|
||||
|
||||
volumes:
|
||||
model-cache:
|
||||
library:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: nfs
|
||||
o: "addr=192.168.1.192,rw,nolock,soft"
|
||||
device: ":/mnt/user/family/immich-library"
|
||||
|
||||
networks:
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user