Moving settings to .env file
This commit is contained in:
@@ -6,10 +6,9 @@ services:
|
|||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
environment:
|
environment:
|
||||||
CHE_DOCKER_IP_EXTERNAL: ${EXTERNAL_IP}
|
|
||||||
CHE_HOST: ${TRAEFIK_HOST}
|
|
||||||
CHE_IN_VM: true
|
CHE_IN_VM: true
|
||||||
CHE_SINGLE_PORT: true
|
expose:
|
||||||
|
- "8080"
|
||||||
labels:
|
labels:
|
||||||
io.rancher.container.pull_image: always
|
io.rancher.container.pull_image: always
|
||||||
{{- if .Values.HOST_LABEL}}
|
{{- if .Values.HOST_LABEL}}
|
||||||
@@ -26,8 +25,6 @@ services:
|
|||||||
{{- else}}
|
{{- else}}
|
||||||
traefik.enable: false
|
traefik.enable: false
|
||||||
{{- end}}
|
{{- end}}
|
||||||
ports:
|
|
||||||
- "${CHE_PORT}:8080"
|
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
|||||||
@@ -25,22 +25,6 @@ catalog:
|
|||||||
required: false
|
required: false
|
||||||
type: string
|
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"
|
- variable: "TRAEFIK_BASIC_AUTH"
|
||||||
label: "Basic Authentication Expression"
|
label: "Basic Authentication Expression"
|
||||||
description: |
|
description: |
|
||||||
|
|||||||
Reference in New Issue
Block a user