forked from HubSpot/Singularity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
54 lines (49 loc) · 1.25 KB
/
docker-compose.yml
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
zk:
image: bobrik/zookeeper
net: host
environment:
ZK_CONFIG: tickTime=2000,initLimit=10,syncLimit=5,maxClientCnxns=128,forceSync=no,clientPort=2181
ZK_ID: 1
master:
image: mesosphere/mesos-master:0.23.0-1.0.ubuntu1404
net: host
environment:
MESOS_ZK: zk://localhost:2181/mesos
MESOS_HOSTNAME: localhost
MESOS_IP: 127.0.0.1
MESOS_QUORUM: 1
MESOS_CLUSTER: docker-compose
MESOS_WORK_DIR: /var/lib/mesos
slave:
image: hubspot/singularityexecutorslave:0.5.0
command: mesos-slave
net: host
environment:
MESOS_MASTER: zk://localhost:2181/mesos
MESOS_HOSTNAME: localhost
MESOS_IP: 127.0.0.1
MESOS_CONTAINERIZERS: docker,mesos
MESOS_ISOLATION: cgroups/cpu,cgroups/mem
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /sys:/sys
scheduler:
image: hubspot/singularityservice:0.5.0
net: host
environment:
- DOCKER_HOST
- LOAD_BALANCER_URI=http://localhost:8080/baragon/v2/request
baragonservice:
image: hubspot/baragonservice:0.2.0
net: host
environment:
- DOCKER_HOST
- BARAGON_PORT=8080
- BARAGON_UI_BASE=/baragon/v2
baragonagent:
image: hubspot/baragonagent:0.2.0
net: host
environment:
NGINX_PORT: 80
BARAGON_PORT: 8882
BARAGON_AGENT_GROUP: test