From 7c9889adf5351b5df617611d5a0148d1485a42ca Mon Sep 17 00:00:00 2001 From: WilliamMiceli <9000802+WilliamMiceli@users.noreply.github.com> Date: Tue, 28 Aug 2018 16:30:08 -0400 Subject: [PATCH] Testing --- templates/InvoiceNinja/0/docker-compose.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/templates/InvoiceNinja/0/docker-compose.yml b/templates/InvoiceNinja/0/docker-compose.yml index 0184aae..b5c65c6 100644 --- a/templates/InvoiceNinja/0/docker-compose.yml +++ b/templates/InvoiceNinja/0/docker-compose.yml @@ -22,14 +22,26 @@ services: {{- if (.Values.GMAPS_KEY)}} GOOGLE_MAPS_API_KEY: ${GMAPS_KEY} {{- end}} + expose: + - "80" labels: io.rancher.container.pull_image: always {{- if (.Values.HOST_LABEL)}} io.rancher.scheduler.affinity:host_label: ${HOST_LABEL} {{- end}} io.rancher.sidekicks: cron, web + {{- if .Values.TRAEFIK_HOST}} + traefik.enable: true + traefik.frontend.rule: Host:${TRAEFIK_HOST} + traefik.port: "80" + traefik.frontend.entryPoints: https + {{- else}} + traefik.enable: false + {{- end}} links: - mysql + networks: + - public-proxy restart: on-failure volumes: - Logo:/var/www/app/public/logo @@ -104,14 +116,6 @@ 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:${TRAEFIK_HOST} - traefik.port: "80" - traefik.frontend.entryPoints: https - {{- else}} - traefik.enable: false - {{- end}} links: - app networks: