# docker-compose.yml services: test: image: alpine:3.19 entrypoint: nc -l -p 8000 ports: - "127.0.0.0:8000:8000" labels: - "traefik.enable=true" - "traefik.http.routers.whoami.rule=Host(`whoami.docker.localhost`)" - "traefik.http.routers.whoami.entrypoints=websecure" - "traefik.http.routers.whoami.tls=true"