Folder Rename
This commit is contained in:
43
templates/EclipseChe-Single/0/README.md
Normal file
43
templates/EclipseChe-Single/0/README.md
Normal file
@@ -0,0 +1,43 @@
|
||||
# Eclipse Che (Single User)
|
||||
|
||||
[Official Website](https://www.eclipse.org/che/)
|
||||
[Docker Page](https://hub.docker.com/r/eclipse/che/)
|
||||
|
||||
[v6 Documentation](https://www.eclipse.org/che/docs/6/che/docs/index.html)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
##### CLI Reference
|
||||
|
||||
USAGE:
|
||||
` docker run -it --rm *<DOCKER_PARAMETERS>* eclipse/che-cli:*<version>* *[COMMAND]*`
|
||||
|
||||
COMMANDS:
|
||||
` action *<action-name>*` Start action on che instance
|
||||
` backup` Backups che configuration and data to /data/backup volume mount
|
||||
` config` Generates a che config from vars; run on any start / restart
|
||||
` destroy` Stops services, and deletes che instance data
|
||||
` dir *<command>*` Use Chedir and Chefile in the directory mounted to :/chedir
|
||||
` download` Pulls Docker images for the current che version
|
||||
` help` This message
|
||||
` info` Displays info about che and the CLI
|
||||
` init` Initializes a directory with a che install
|
||||
` offline` Saves che Docker images into TAR files for offline install
|
||||
` restart` Restart che services
|
||||
` restore` Restores che configuration and data from /data/backup mount
|
||||
` rmi` Removes the Docker images for <version>, forcing a repull
|
||||
` ssh *<wksp-name>* *[machine-name]*` SSH to a workspace if SSH agent enabled
|
||||
` start` Starts che services
|
||||
` stop` Stops che services
|
||||
` sync *<wksp-name>*` Synchronize workspace with local directory mounted to :/sync
|
||||
` test *<test-name>*` Start test on che instance
|
||||
` upgrade` Upgrades che from one version to another with migrations and backups
|
||||
` version` Installed version and upgrade paths
|
||||
|
||||
GLOBAL COMMAND OPTIONS:
|
||||
` --fast` Skips networking, version, nightly and preflight checks
|
||||
` --offline` Runs CLI in offline mode, loading images from disk
|
||||
` --debug` Enable debugging of che server
|
||||
` --trace` Activates trace output for debugging CLI
|
||||
21
templates/EclipseChe-Single/0/docker-compose.yml
Normal file
21
templates/EclipseChe-Single/0/docker-compose.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
version: '2'
|
||||
services:
|
||||
che-server:
|
||||
image: eclipse/che-server:latest
|
||||
dns:
|
||||
- 1.1.1.1
|
||||
- 1.0.0.1
|
||||
environment:
|
||||
- CHE_HOST=${HOST_IP}
|
||||
- CHE_PORT=${CHE_PORT}
|
||||
labels:
|
||||
io.rancher.scheduler.affinity:host_label: ${LABEL_KEY_VALUE}
|
||||
io.rancher.container.hostname_override: eclipse-che
|
||||
ports:
|
||||
- "${CHE_PORT}:8080"
|
||||
privileged: true
|
||||
restart: on-failure
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- ${STORAGE_BASE_DIR}${DATA_DIR}:/data
|
||||
- ${STORAGE_BASE_DIR}${REPO_DIR}:/repo
|
||||
48
templates/EclipseChe-Single/0/rancher-compose.yml
Normal file
48
templates/EclipseChe-Single/0/rancher-compose.yml
Normal file
@@ -0,0 +1,48 @@
|
||||
version: '2'
|
||||
catalog:
|
||||
name: "Eclipse Che (Single-User)"
|
||||
version: "latest"
|
||||
description: A new awesome web IDE
|
||||
questions:
|
||||
- variable: "LABEL_KEY_VALUE"
|
||||
label: "Host Label Key/Value Pair"
|
||||
description: |
|
||||
The Label Key/Value pair on the host which Eclipse Che should be deployed
|
||||
default: "host.id=0000"
|
||||
required: true
|
||||
type: string
|
||||
- variable: "HOST_IP"
|
||||
label: "Host IP Address"
|
||||
description: |
|
||||
IP of the host system
|
||||
default: "0.0.0.0"
|
||||
required: true
|
||||
type: string
|
||||
- variable: "CHE_PORT"
|
||||
label: "Port Number"
|
||||
description: |
|
||||
Port to access the web interface on
|
||||
default: "8080"
|
||||
required: true
|
||||
type: string
|
||||
- variable: "STORAGE_BASE_DIR"
|
||||
label: "Base Storage Directory"
|
||||
description: |
|
||||
The base path of where persistent storage should be kept at.
|
||||
default: "/RancherStorage/EclipseChe-SingleUser"
|
||||
required: true
|
||||
type: string
|
||||
- variable: "DATA_DIR"
|
||||
label: "Data Directory"
|
||||
description: |
|
||||
The directory Eclipse Che should use for it's persistent data storage
|
||||
default: "/Data"
|
||||
required: true
|
||||
type: string
|
||||
- variable: "REPO_DIR"
|
||||
label: "Persistent Storage Volume"
|
||||
description: |
|
||||
The directory Eclipse Che should use for it's persistent repo storage
|
||||
default: "/Repo"
|
||||
required: true
|
||||
type: string
|
||||
9
templates/EclipseChe-Single/config.yml
Normal file
9
templates/EclipseChe-Single/config.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
name: Eclipse Che (Single-User)
|
||||
description: |
|
||||
Not yet operational.
|
||||
Permissions issues, but almost there...
|
||||
version: latest
|
||||
category: Development
|
||||
maintainer: WilliamMiceli
|
||||
license:
|
||||
projectURL: https://www.eclipse.org/che/
|
||||
Reference in New Issue
Block a user