From cb49519b16498746813dfbb4ab77e3cdcc164182 Mon Sep 17 00:00:00 2001 From: WilliamMiceli <9000802+WilliamMiceli@users.noreply.github.com> Date: Mon, 15 Oct 2018 21:23:40 -0400 Subject: [PATCH] Moving settings to .env file --- templates/EclipseChe-Single/0/docker-compose.yml | 7 ++----- .../EclipseChe-Single/0/rancher-compose.yml | 16 ---------------- 2 files changed, 2 insertions(+), 21 deletions(-) diff --git a/templates/EclipseChe-Single/0/docker-compose.yml b/templates/EclipseChe-Single/0/docker-compose.yml index 278d582..610c552 100644 --- a/templates/EclipseChe-Single/0/docker-compose.yml +++ b/templates/EclipseChe-Single/0/docker-compose.yml @@ -6,10 +6,9 @@ services: - 1.1.1.1 - 1.0.0.1 environment: - CHE_DOCKER_IP_EXTERNAL: ${EXTERNAL_IP} - CHE_HOST: ${TRAEFIK_HOST} CHE_IN_VM: true - CHE_SINGLE_PORT: true + expose: + - "8080" labels: io.rancher.container.pull_image: always {{- if .Values.HOST_LABEL}} @@ -26,8 +25,6 @@ services: {{- else}} traefik.enable: false {{- end}} - ports: - - "${CHE_PORT}:8080" restart: on-failure volumes: - /var/run/docker.sock:/var/run/docker.sock diff --git a/templates/EclipseChe-Single/0/rancher-compose.yml b/templates/EclipseChe-Single/0/rancher-compose.yml index d5ef488..6285ccc 100644 --- a/templates/EclipseChe-Single/0/rancher-compose.yml +++ b/templates/EclipseChe-Single/0/rancher-compose.yml @@ -25,22 +25,6 @@ catalog: required: false type: string - - variable: "EXTERNAL_IP" - label: "External IP Address" - description: | - The IP address that the container will be accessible through for the websocket. - #default: "" - required: false - type: string - - - variable: "CHE_PORT" - label: "Port Number" - description: | - Port to access the web interface on - default: "20100" - required: true - type: string - - variable: "TRAEFIK_BASIC_AUTH" label: "Basic Authentication Expression" description: |