-
Notifications
You must be signed in to change notification settings - Fork 188
/
docker-compose.yml
55 lines (50 loc) · 1.28 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
55
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: hubspot/mesos-master:1.9.0
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/singularityexecutoragent:1.4.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:1.4.0
net: host
environment:
- DOCKER_HOST
- LOAD_BALANCER_URI=http://localhost:8080/baragon/v2/request
- SINGULARITY_MESOS_MASTER=${DOCKER_IP}:5050
baragonservice:
image: hubspot/baragonservice:0.8.0
net: host
environment:
- DOCKER_HOST
- BARAGON_PORT=8080
- BARAGON_UI_BASE=/baragon/v2
baragonagent:
image: hubspot/baragonagent:0.8.0
net: host
environment:
NGINX_PORT: 80
BARAGON_PORT: 8882
BARAGON_AGENT_GROUP: test