cni network model changes

This commit is contained in:
James Oliver
2016-11-28 12:00:28 -07:00
parent cc5f49e0fe
commit 24443a3424
6 changed files with 105 additions and 4 deletions
@@ -0,0 +1,49 @@
zookeeper:
image: rancher/zookeeper:3.4.8
environment:
ZK_ENSEMBLE_SIZE: ${ZOOKEEPER_SCALE}
JVMFLAGS: -Xmx512m -Xms512m
CONFD_INTERVAL: 0
labels:
io.rancher.scheduler.affinity:container_label_ne: io.rancher.stack_service.name=$${stack_name}/$${service_name}
io.rancher.sidekicks: zookeeper-data
volumes_from:
- zookeeper-data
zookeeper-data:
image: busybox
entrypoint: /bin/true
labels:
io.rancher.scheduler.affinity:container_label_ne: io.rancher.stack_service.name=$${stack_name}/$${service_name}
io.rancher.container.start_once: 'true'
net: none
volumes:
- /data
mesos-master:
image: rancher/mesos-master:latest
environment:
MESOS_CLUSTER: Rancher
MESOS_QUORUM: 2
MASTER_PORT: 5050
ZK_SERVICE: mesos/zookeeper
ZK_SESSION_TIMEOUT: 10secs
ports:
- "5050:5050"
labels:
io.rancher.scheduler.affinity:container_label_ne: io.rancher.stack_service.name=$${stack_name}/$${service_name}
volumes:
- /data
mesos-slave:
image: rancher/mesos-slave:latest
environment:
SLAVE_PORT: 5051
ZK_SERVICE: mesos/zookeeper
ports:
- "5051:5051"
labels:
io.rancher.container.hostname_override: container_name
io.rancher.scheduler.affinity:container_label_ne: io.rancher.stack_service.name=$${stack_name}/$${service_name}
io.rancher.scheduler.global: "true"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /data
privileged: true