Use compose-label to find hostname

This commit is contained in:
Colin Hebert
2022-12-31 10:13:01 +01:00
parent 3422a5bcf7
commit f4549feec9

View File

@@ -3,7 +3,7 @@ providers:
endpoint: tcp://docker:2375 endpoint: tcp://docker:2375
exposedByDefault: false exposedByDefault: false
network: traefik network: traefik
defaultRule: Host(`{{ .Name }}{subdomain:dev.dedicated.contact`) defaultRule: Host(`{{ index .Labels "com.docker.compose.service" }}.dev.dedicated.contact`)
serverstransport: serverstransport:
insecureskipverify: true insecureskipverify: true