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