version: '3.8' networks: default: name: ${TRAEFIK_NETWORK_NAME} services: registry: labels: traefik.enable: 'true' traefik.docker.network: ${TRAEFIK_NETWORK_NAME} traefik.http.routers.registry.rule: 'Host(`${REGISTRY_DOMAIN}`)' traefik.http.routers.registry.entrypoints: 'web'