quicknote/archive/cifs_create.sh

26 lines
732 B
Bash

docker volume create \
--driver local \
--opt type=cifs \
--opt device=//192.168.2.101/TCD \
--opt o=addr=192.168.2.101,username=admin,password=yHf4ewq4PLDdqQ,iocharset=utf8,vers=3.0 \
--name immich_remote_folder_home_photo_immich
docker volume create \
--driver local \
--opt type=cifs \
--opt device=//192.168.2.101/Multimedia/Photos \
--opt o=username=admin,password=yHf4ewq4PLDdqQ,iocharset=utf8,vers=3.0 \
--name volume1
remote_folder_home_photo_immich:
name: remote_folder_home_photo_immich
driver_opts:
type: cifs
o: username=admin,password=yHf4ewq4PLDdqQ,iocharset=utf8,vers=3.0
device: //192.168.2.101/Multimedia/Photos
mount -t nfs 192.168.2.101:/Multimedia/Photos /mnt/nas