services: nginx: container_name: nginx image: nginx:1.27.0-alpine3.19 restart: always networks: - proxynet labels: - "traefik.enable=true" - "traefik.http.routers.nginx.rule=Host(`${DOMAIN}`)" volumes: - ./www/main:/usr/share/nginx/html