music folder moved to minio sshfs mount
All checks were successful
deploy host / Deploy (push) Successful in 57s
All checks were successful
deploy host / Deploy (push) Successful in 57s
This commit is contained in:
@@ -290,8 +290,13 @@ journalctl -r -t auto-update
|
||||
|
||||
## fstab
|
||||
|
||||
requires sshpass
|
||||
apt install sshpass
|
||||
|
||||
requires file /root/.ssh/media_readonly@minio.nas.lan.password containing clear text password used on sshfs
|
||||
|
||||
```bash
|
||||
# /etc/fstab
|
||||
# used by docker volume music
|
||||
sshfs#media@nas.lan:/home/media /mnt/media@sshfs:nas.lan fuse defaults,_netdev,allow_other,follow_symlinks 0 0
|
||||
# used by docker volume music using an s3 bucket on self hosted minio
|
||||
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
|
||||
```
|
||||
@@ -1,12 +1,11 @@
|
||||
---
|
||||
- name: docker - music volume
|
||||
community.docker.docker_volume:
|
||||
name: music
|
||||
driver: local
|
||||
driver_options:
|
||||
type: none
|
||||
device: /mnt/media@sshfs:nas.lan/music
|
||||
o: bind
|
||||
# ---
|
||||
# - name: docker - media volume
|
||||
# community.docker.docker_volume:
|
||||
# name: media
|
||||
# driver: local
|
||||
# driver_options:
|
||||
# type: none
|
||||
# device: /mnt/media
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user