forked from HubSpot/Singularity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose-dev.yml
60 lines (54 loc) · 1.39 KB
/
compose-dev.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
56
57
58
59
60
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.4.12-SNAPSHOT
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_ATTRIBUTES: "example:value;myNumber:1"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /sys:/sys
scheduler:
image: hubspot/singularityservice:0.4.12-SNAPSHOT
net: host
environment:
- DOCKER_HOST
- LOAD_BALANCER_URI=http://localhost:8080/baragon/v2/request
- SINGULARITY_SMTP_HOST=localhost
- SINGULARITY_SMTP_PORT=1025
baragonservice:
image: hubspot/baragonservice:0.1.11
net: host
environment:
- DOCKER_HOST
- BARAGON_PORT=8080
- BARAGON_UI_BASE=/baragon/v2
baragonagent:
image: hubspot/baragonagent:0.1.11
net: host
environment:
NGINX_PORT: 80
BARAGON_PORT: 8882
BARAGON_AGENT_GROUP: test
mailhog:
image: mailhog/mailhog
net: host