Two vps mounts
This commit is contained in:
parent
20549add5b
commit
23d2efa777
1 changed files with 6 additions and 2 deletions
|
|
@ -49,7 +49,11 @@ data:
|
||||||
browseable = yes
|
browseable = yes
|
||||||
writable = yes
|
writable = yes
|
||||||
|
|
||||||
|
[slskd]
|
||||||
|
path = /slskd
|
||||||
|
comment = ZFS
|
||||||
|
browseable = yes
|
||||||
|
writable = yes
|
||||||
|
|
||||||
|
|
||||||
;EOF way past actual end of file
|
;EOF way past actual end of file
|
||||||
|
|
@ -112,7 +116,7 @@ spec:
|
||||||
command:
|
command:
|
||||||
- /bin/sh
|
- /bin/sh
|
||||||
- -c
|
- -c
|
||||||
- "apk add samba sshfs; mkdir /data; mkdir ~/.ssh; cp /keyfile/keyfile ~/.ssh; ssh-keyscan 75.102.10.189 >~/.ssh/known_hosts ; chmod 600 ~/.ssh/keyfile; sed -i s/'^#user_allow_other'/'user_allow_other'/ /etc/fuse.conf ; sshfs debian-transmission@75.102.10.189:/var/lib/transmission-daemon/downloads /data -o IdentityFile=~/.ssh/keyfile,uid=1000,gid=1000,allow_other && cd /scripts && sh ./k8s.sh"
|
- "apk add samba sshfs; mkdir /data; mkdir /slskd; mkdir ~/.ssh; cp /keyfile/keyfile ~/.ssh; ssh-keyscan 75.102.10.189 >~/.ssh/known_hosts ; chmod 600 ~/.ssh/keyfile; sed -i s/'^#user_allow_other'/'user_allow_other'/ /etc/fuse.conf ; sshfs debian-transmission@75.102.10.189:/var/lib/transmission-daemon/downloads /data -o IdentityFile=~/.ssh/keyfile,uid=1000,gid=1000,allow_other && sshfs slskd-docker@75.102.10.189:/slskd /slskd -o IdentityFile=~/.ssh/keyfile,uid=1000,gid=1000,allow_other && cd /scripts && sh ./k8s.sh"
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
ports:
|
ports:
|
||||||
- name: cifs
|
- name: cifs
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue