version: "3" services: http: image: nginx:alpine restart: unless-stopped volumes: - "./html:/usr/share/nginx/html:ro" networks: - "traefik" labels: - "traefik.enable=true" - "traefik.http.routers.web-dweipert-de.rule=Host(`${DOMAIN}`)" - "traefik.http.routers.web-dweipert-de.entrypoints=websecure" - "traefik.http.routers.web-dweipert.de.tls.certresolver=letsencrypt" networks: traefik: name: "${TRAEFIK_NETWORK}" external: true