No more volumes
This commit is contained in:
@@ -2,15 +2,19 @@ version: '2'
|
||||
services:
|
||||
che-server:
|
||||
image: eclipse/che-server:latest
|
||||
container_name: eclipse-che
|
||||
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: ${HOST_LABEL_KEY}=${HOST_LABEL_VALUE}
|
||||
io.rancher.scheduler.affinity:host_label: ${LABEL_KEY_VALUE}
|
||||
ports:
|
||||
- "8080:8080"
|
||||
- ${CHE_PORT}":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
|
||||
- ${STORAGE_BASE_DIR}${DATA_DIR}:/data
|
||||
- ${STORAGE_BASE_DIR}${REPO_DIR}:/repo
|
||||
Reference in New Issue
Block a user