Former-commit-id: e6087e310678b9b6a373771c004d1a84cb203e70 Former-commit-id: f12ffd80789753aed01f255bd870cdac54a9da8d1.0
parent
ff781c1efc
commit
4ad680c0ff
@ -0,0 +1 @@
|
||||
hello world
|
@ -1,14 +1,23 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
# modprobe {nfs,nfsd,rpcsec_gss_krb5}
|
||||
nfs:
|
||||
image: erichough/nfs-server:2.2.1
|
||||
nginx:
|
||||
image: nginx:1.18.0
|
||||
restart: always
|
||||
ports:
|
||||
- 80:80
|
||||
volumes:
|
||||
- /lib/modules:/lib/modules:ro
|
||||
- ./data/nfs:/nfs
|
||||
- ./conf/exports.conf:/etc/exports:ro
|
||||
cap_add:
|
||||
- SYS_ADMIN
|
||||
- SYS_MODULE
|
||||
ports:
|
||||
- 2409:2409
|
||||
- nginx-fs:/usr/share/nginx/html:rw
|
||||
volumes:
|
||||
nginx-fs:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: none
|
||||
o: bind
|
||||
device: ./data/nginx
|
||||
nginx-sshfs:
|
||||
#docker plugin install vieux/sshfs
|
||||
driver: vieux/sshfs:latest
|
||||
driver_opts:
|
||||
sshcmd: root@49.4.92.112:/sshfs
|
||||
password: dsideal123!
|
||||
allow_other: ""
|
Loading…
Reference in new issue