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
|
## 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
|
||||||
```
|
```
|
||||||
@@ -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
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user