Hi, everyone!
I’m really troubling with mount network share in compose file
How to do it right?
version: ‘3.7’
services:
nginx:
build: .
container_name: nginx
hostname: nginx
ports:
- 80:80
- 443:443
restart: unless-stopped
volumes:
- myshare:/var/log/nginx
volumes:
myshare:
driver_opts:
type: nfs
o: “username=netshare,password=netshare,rw”
device: “\\storage\storage”
PLZ help