services: tracker-nginx: image: nginx:alpine ports: - 8180:80 networks: - homelab volumes: - /home/doc/projects/swarm-data/appdata/webservers/production/nginx/nginx.conf:/etc/nginx/nginx.conf:ro - /home/doc/projects/swarm-data/appdata/webservers/production/nginx/.conf/default.conf:/etc/nginx/conf.d/default.conf:ro - /home/doc/projects/swarm-data/appdata/webfiles/production/taylors-development:/usr/share/nginx/html:ro healthcheck: test: ["CMD-SHELL", "curl -f http://localhost:80 || exit 1"] interval: 30s timeout: 5s retries: 3 start_period: 10s deploy: replicas: 1 resources: limits: memory: 256M reservations: memory: 64M networks: homelab: external: true