Files
Personal-Rancher-Catalog/templates/eclipse-che-single/0/docker-compose.yml
2018-03-28 19:39:56 -04:00

16 lines
434 B
YAML

version: '2'
services:
che-server:
image: eclipse/che-server:latest
environment:
- CHE_HOST=${HOST_IP}
labels:
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL_KEY}=${HOST_LABEL_VALUE}
ports:
- "8080:8080"
restart: on-failure
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ${DATA_VOLUME}:/data:nocopy
- ${REPO_VOLUME}:/repo:nocopy
volumes_driver: rancher-nfs