Added Traefik host option to questions and compose
This commit is contained in:
@@ -18,10 +18,14 @@ services:
|
||||
{{- if (.Values.HOST_LABEL)}}
|
||||
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
||||
{{- end}}
|
||||
{{- if .Values.TRAEFIK_HOST}}
|
||||
traefik.enable: true
|
||||
traefik.frontend.rule: Host:cloudtest.williammiceli.systems
|
||||
traefik.frontend.rule: Host:${TRAEFIK_HOST}
|
||||
traefik.port: "80"
|
||||
traefik.frontend.entryPoints: https
|
||||
{{- else}}
|
||||
traefik.enable: false
|
||||
{{- end}}
|
||||
links:
|
||||
- mysql
|
||||
networks:
|
||||
|
||||
@@ -8,7 +8,7 @@ catalog:
|
||||
# upgrade_from:
|
||||
questions:
|
||||
|
||||
- variable: HOST_LABEL
|
||||
- variable: "HOST_LABEL"
|
||||
label: "Host Label Key/Value Pair"
|
||||
description: |
|
||||
The Label Key/Value pair on the host which containers should be deployed
|
||||
@@ -16,7 +16,16 @@ catalog:
|
||||
required: false
|
||||
type: string
|
||||
|
||||
- variable: WEB_PORT
|
||||
- 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"
|
||||
required: false
|
||||
type: string
|
||||
|
||||
- variable: "WEB_PORT"
|
||||
label: Port
|
||||
description: |
|
||||
The port to access the web interface on.
|
||||
@@ -24,7 +33,7 @@ catalog:
|
||||
required: true
|
||||
type: string
|
||||
|
||||
- variable: DB_ROOT_PASS
|
||||
- variable: "DB_ROOT_PASS"
|
||||
label: "MySQL Root Password"
|
||||
description: |
|
||||
A secure password to be used by the "root" MySQL user.
|
||||
@@ -32,7 +41,7 @@ catalog:
|
||||
required: true
|
||||
type: password
|
||||
|
||||
- variable: DB_USER_PASS
|
||||
- variable: "DB_USER_PASS"
|
||||
label: "MySQL User Password"
|
||||
description: |
|
||||
A secure password to be used by the "nextcloud_user" MySQL user.
|
||||
@@ -40,7 +49,7 @@ catalog:
|
||||
required: true
|
||||
type: password
|
||||
|
||||
- variable: NC_ADMIN
|
||||
- variable: "NC_ADMIN"
|
||||
label: "Nextcloud Admin Username"
|
||||
description: |
|
||||
The username of the Nextcloud admin user.
|
||||
@@ -48,7 +57,7 @@ catalog:
|
||||
required: true
|
||||
type: string
|
||||
|
||||
- variable: NC_ADMIN_PASS
|
||||
- variable: "NC_ADMIN_PASS"
|
||||
label: "Nextcloud Admin Password"
|
||||
description: |
|
||||
A secure password for the Nextcloud admin user.
|
||||
@@ -56,7 +65,7 @@ catalog:
|
||||
required: true
|
||||
type: password
|
||||
|
||||
- variable: DATA_DIR
|
||||
- variable: "DATA_DIR"
|
||||
label: "Data Directory"
|
||||
description: |
|
||||
The directory to store persistent data
|
||||
|
||||
Reference in New Issue
Block a user