This commit is contained in:
WilliamMiceli
2018-11-04 12:34:25 -05:00
2 changed files with 9 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ services:
traefik.frontend.auth.basic: ${TRAEFIK_BASIC_AUTH}
{{- end}}
traefik.frontend.entryPoints: http,https
traefik.frontend.rule: Host:${TRAEFIK_HOST}
traefik.frontend.rule: ${TRAEFIK_HOST}
traefik.frontend.passHostHeader: true
{{- else}}
traefik.enable: false

View File

@@ -16,12 +16,19 @@ catalog:
required: false
type: string
- variable: "CHE_HOST"
label: "CHE_HOST"
description: |
default: "subdomain.domain.tld"
required: false
type: string
- variable: "TRAEFIK_HOST"
label: "Public Host Domain"
description: |
The host that Traefik will use to provide public access.
Leaving this empty will disable Traefik on this stack.
default: "subdomain.domain.tld"
default: "Host:subdomain.domain.tld,HostRegexp:.*.subdomain.domain.tld"
required: false
type: string