Run as different user
This commit is contained in:
@@ -8,6 +8,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- CHE_HOST=${HOST_IP}
|
- CHE_HOST=${HOST_IP}
|
||||||
- CHE_PORT=${CHE_PORT}
|
- CHE_PORT=${CHE_PORT}
|
||||||
|
- CHE_USER=${UID_GID}
|
||||||
labels:
|
labels:
|
||||||
io.rancher.scheduler.affinity:host_label: ${LABEL_KEY_VALUE}
|
io.rancher.scheduler.affinity:host_label: ${LABEL_KEY_VALUE}
|
||||||
io.rancher.container.hostname_override: eclipse-che
|
io.rancher.container.hostname_override: eclipse-che
|
||||||
|
|||||||
@@ -25,6 +25,13 @@ catalog:
|
|||||||
default: "8080"
|
default: "8080"
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
- variable: "UID_GID"
|
||||||
|
label: "UID:GID"
|
||||||
|
description: |
|
||||||
|
The User ID and Group ID that Eclipse Che should run as
|
||||||
|
default: "1000:1000"
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
- variable: "STORAGE_BASE_DIR"
|
- variable: "STORAGE_BASE_DIR"
|
||||||
label: "Base Storage Directory"
|
label: "Base Storage Directory"
|
||||||
description: |
|
description: |
|
||||||
|
|||||||
Reference in New Issue
Block a user