You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
548 B
23 lines
548 B
version: "3.8"
|
|
services:
|
|
nginx:
|
|
image: nginx:1.18.0
|
|
restart: always
|
|
ports:
|
|
- 80:80
|
|
volumes:
|
|
- nginx-sshfs:/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@host.docker.internal:/sshfs
|
|
password: root
|
|
allow_other: "" |