services: nextfamhistweb: image: httpd:latest deploy: # placement: # constraints: [node.role == worker] replicas: 1 restart: on-failure ports: - 8887:80 volumes: - nas-share:/usr/local/apache2/htdocs networks: - caddy_net volumes: nas-share: driver_opts: type: cifs o: "username=admin,password=Gerald1927" device: "//192.168.1.7/TestFamilyWebSite/" networks: caddy_net: external: true