Moving settings to .env file
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user