More flexibility for testing

This commit is contained in:
WilliamMiceli
2018-10-28 14:53:10 -04:00
parent 0c0f3dda8b
commit c282c5716b
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"
required: false
type: string