First try

This commit is contained in:
William Miceli
2018-03-28 16:34:53 -04:00
parent d02c6a1915
commit 69d65ca464
2 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
version: '2'
services:
che-server:
image: eclipse/che-server:latest
container_name: che
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