Modernization mainly, removed many host port options, added Traefik rule to passHostHeader

This commit is contained in:
William Miceli
2019-02-08 21:18:13 -05:00
parent 18de2ce331
commit 88bf2015b6
13 changed files with 36 additions and 97 deletions

View File

@@ -46,6 +46,7 @@ services:
traefik.nextcloud.frontend.headers.SSLRedirect: true
traefik.nextcloud.frontend.headers.STSPreload: true
traefik.nextcloud.frontend.headers.STSSeconds: 15552000
traefik.nextcloud.frontend.passHostHeader: true
traefik.nextcloud.frontend.rule: Host:${TRAEFIK_HOST}
traefik.nextcloud.port: "80"
### End Nextcloud Segment
@@ -54,10 +55,6 @@ services:
{{- if eq .Values.REDIS "true"}}
- redis
{{- end}}
{{- if .Values.WEB_PORT}}
ports:
- "${WEB_PORT}:80"
{{- end}}
restart: on-failure
volumes:
- /etc/localtime:/etc/localtime:ro # Syncronize time of container with the host system

View File

@@ -21,16 +21,7 @@ catalog:
description: |
The host that Traefik will use to provide public access.
default: "subdomain.domain.tld"
required: false
type: string
- variable: "WEB_PORT"
label: "Web Port"
description: |
The port to locally access the web interface on.
Leaving this empty will disable opening any port on the host system.
default: "10100"
required: false
required: true
type: string
- variable: "DB_ROOT_PASS"