Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 8.5 KiB |
Before Width: | Height: | Size: 229 KiB |
Before Width: | Height: | Size: 80 KiB |
Before Width: | Height: | Size: 4.8 KiB |
@ -1 +0,0 @@ |
|||
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><title>Vue App</title><link href=/css/app.a3234da2.css rel=preload as=style><link href=/css/chunk-vendors.b9dd8f74.css rel=preload as=style><link href=/js/app.83e560bf.js rel=preload as=script><link href=/js/chunk-vendors.f00828c9.js rel=preload as=script><link href=/css/chunk-vendors.b9dd8f74.css rel=stylesheet><link href=/css/app.a3234da2.css rel=stylesheet></head><body><div id=app></div><script src=/js/chunk-vendors.f00828c9.js></script><script src=/js/app.83e560bf.js></script></body></html> |
@ -0,0 +1,5 @@ |
|||
|
|||
share_container= |
|||
share_name= |
|||
share_rights= |
|||
share_dir= |
@ -0,0 +1,26 @@ |
|||
version: "3.8" |
|||
|
|||
services: |
|||
|
|||
wgshare-${share_name}: |
|||
image: hub.swarmlab.io:5480/venus-fsshare-server:latest |
|||
#image: itsthenetwork/nfs-server-alpine:12 |
|||
network_mode: "container:${share_container}" |
|||
privileged: true |
|||
container_name: wgshare-${share_name} |
|||
restart: unless-stopped |
|||
environment: |
|||
- SHARED_DIRECTORY=/data |
|||
- NFS_EXPORT_0='/data *(${share_rights},fsid=0,async,no_subtree_check,no_auth_nlm,insecure,no_root_squash)' |
|||
- share_name=${share_name} |
|||
- share_stackname=${share_container} |
|||
- share_volume=${share_volume} |
|||
|
|||
volumes: |
|||
- ${share_dir}:/data |
|||
- /lib/modules:/lib/modules:ro |
|||
cap_add: |
|||
- SYS_ADMIN |
|||
#- SETPCAP |
|||
- SYS_MODULE |
|||
|
@ -0,0 +1,23 @@ |
|||
version: "3.8" |
|||
|
|||
services: |
|||
wgmount-${share_name}: |
|||
image: hub.swarmlab.io:5480/venus-fsshare-client |
|||
container_name: nfsclient |
|||
restart: unless-stopped |
|||
network_mode: "container:${share_container}" |
|||
privileged: true |
|||
container_name: wgmount-${share_name} |
|||
environment: |
|||
- FSTYPE=nfs4 |
|||
- SERVER=${share_ip} |
|||
- SHARE=/ |
|||
- MOUNTPOINT=/mnt/share |
|||
- MOUNT_OPTIONS="vers=4,loud" |
|||
volumes: |
|||
- ${share_dir}:/mnt/share:shared |
|||
- /lib/modules:/lib/modules:ro |
|||
cap_add: |
|||
- SYS_ADMIN |
|||
- SYS_MODULE |
|||
|
@ -0,0 +1,10 @@ |
|||
version: "3.8" |
|||
|
|||
services: |
|||
testclient: |
|||
image: alpine |
|||
container_name: testclient |
|||
restart: unless-stopped |
|||
network_mode: "container:swarmlabwg-CdHuGiNZMNm0uehQfa1sZdAl0n2CMXcS" |
|||
command: tail -f /dev/null |
|||
|
@ -0,0 +1,22 @@ |
|||
version: "3.9" |
|||
|
|||
services: |
|||
nfsclient: |
|||
image: hub.swarmlab.io:5480/venus-fsshare-client |
|||
container_name: nfsclient |
|||
restart: unless-stopped |
|||
network_mode: "service:masternfsclient" |
|||
privileged: true |
|||
environment: |
|||
- FSTYPE=nfs4 |
|||
- SERVER=10.1.3.1 |
|||
- SHARE=/ |
|||
- MOUNTPOINT=/mnt/share |
|||
- MOUNT_OPTIONS="vers=4,loud" |
|||
volumes: |
|||
- /home/zeus/docker/serverconfig/testtmp1:/mnt/share:shared |
|||
- /lib/modules:/lib/modules:ro |
|||
cap_add: |
|||
- SYS_ADMIN |
|||
- SYS_MODULE |
|||
|