version: "3.9" services: angular-web: image: nginx:stable-alpine container_name: angular-web ports: - "9999:80" volumes: - /volume1/docker/landingpage/dist:/usr/share/nginx/html:ro - /volume1/docker/landingpage/nginx.conf:/etc/nginx/conf.d/default.conf:ro restart: unless-stopped healthcheck: test: ["CMD-SHELL", "wget -q -O /dev/null http://127.0.0.1/ || exit 1"] interval: 30s timeout: 5s retries: 3 start_period: 10s