This repository has been archived by the owner on Oct 3, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
mesos-compose.yml.old
64 lines (57 loc) · 1.55 KB
/
mesos-compose.yml.old
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
version: '2'
services:
zoo1:
image: zookeeper:3.4
network_mode: "host"
ports:
- 2181:2181
- 127.0.0.1:2888:2888
- 127.0.0.1:3888:3888
mesos-master:
image: mesosphere/mesos-master:1.3.0
network_mode: "host"
environment:
- MESOS_CLUSTER=local
- MESOS_ZK=zk://127.0.0.1:2181/mesos
- MESOS_HOSTNAME=127.0.0.1
- MESOS_IP=127.0.0.1
- MESOS_QUORUM=1
- MESOS_CLUSTER=docker-compose
- MESOS_WORK_DIR=/var/lib/mesos
mesos-slave:
image: mesosphere/mesos-slave:1.3.0
network_mode: "host"
privileged: true
environment:
- MESOS_PORT=5051
- MESOS_MASTER=zk://127.0.0.1:2181/mesos
- MESOS_HOSTNAME=127.0.0.1
- MESOS_IP=127.0.0.1
- MESOS_CONTAINERIZERS=docker,mesos
- MESOS_WORK_DIR=/var/lib/mesos
- MESOS_SWITCH_USER=0
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup
- /usr/bin/docker:/usr/bin/docker.so
- /var/run/docker.sock:/var/run/docker.sock
marathon:
image: mesosphere/marathon:v1.4.5
network_mode: "host"
ports:
- 8080:8080
environment:
- MARATHON_ZK=zk://127.0.0.1:2181/marathon
- MARATHON_MASTER=zk://127.0.0.1:2181/mesos
- MARATHON_HOSTNAME=127.0.0.1
- LIBPROCESS_IP=127.0.0.1
command: "--event_subscriber http_callback"
chronos:
image: mesosphere/chronos:v3.0.2
network_mode: "host"
ports:
- 4400:4400
- 8081:8081
environment:
- PORT0=4400
- PORT1=8081
command: --zk_hosts 127.0.0.1:2181 --master zk://127.0.0.1:2181/mesos