You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
389 B
YAML

version: "3"
services:
nginx:
image: nginx
container_name: nginx-simple
restart: always
network_mode: "bridge"
volumes:
- nginx_volume:/usr/share/nginx/html
ports:
- 8080:80
volumes:
nginx_volume:
driver: local
driver_opts:
type: "nfs"
o: "nfsvers=4,addr=192.168.10.4,rw"
device: ":/volume1/Docker/docker/test"