Use compose-label to find hostname
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user