music folder moved to minio sshfs mount
All checks were successful
deploy host / Deploy (push) Successful in 57s

This commit is contained in:
2024-11-14 12:50:05 +00:00
parent 22da4bda9f
commit f916a894e7
2 changed files with 16 additions and 12 deletions

View File

@@ -290,8 +290,13 @@ journalctl -r -t auto-update
## fstab ## fstab
requires sshpass
apt install sshpass
requires file /root/.ssh/media_readonly@minio.nas.lan.password containing clear text password used on sshfs
```bash ```bash
# /etc/fstab # /etc/fstab
# used by docker volume music # used by docker volume music using an s3 bucket on self hosted minio
sshfs#media@nas.lan:/home/media /mnt/media@sshfs:nas.lan fuse defaults,_netdev,allow_other,follow_symlinks 0 0 sshfs#media_readonly@nas.lan:/music /mnt/media/music fuse port=9022,defaults,_netdev,allow_other,follow_symlinks,reconnect,ssh_command=sshpass\040-f\040/root/.ssh/media_readonly@minio.nas.lan.password\040ssh 0 0
``` ```

View File

@@ -1,12 +1,11 @@
--- # ---
- name: docker - music volume # - name: docker - media volume
community.docker.docker_volume: # community.docker.docker_volume:
name: music # name: media
driver: local # driver: local
driver_options: # driver_options:
type: none # type: none
device: /mnt/media@sshfs:nas.lan/music # device: /mnt/media
o: bind