Added Traefik lables

This commit is contained in:
WilliamMiceli
2018-08-27 17:51:54 -04:00
parent 8786766c93
commit f01939085f

View File

@@ -8,5 +8,9 @@ services:
{{- if (.Values.HOST_LABEL)}} {{- if (.Values.HOST_LABEL)}}
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL} io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
{{- end}} {{- end}}
traefik.enable: true
traefik.frontend.rule: Host:blog.williammiceli.me
traefik.port: "2368"
traefik.frontend.entryPoints: https
ports: ports:
- "${WEB_PORT}:2368" - "${WEB_PORT}:2368"