-
Notifications
You must be signed in to change notification settings - Fork 188
/
compose-dev.yml
68 lines (62 loc) · 1.7 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
61
62
63
64
65
66
67
68
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: ${DOCKER_IP}
MESOS_IP: ${DOCKER_IP}
MESOS_QUORUM: 1
MESOS_CLUSTER: docker-compose
MESOS_WORK_DIR: /var/lib/mesos
MESOS_ROLES: "OPS"
slave:
image: hubspot/singularityexecutoragent:1.5.0-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_ROLES: "OPS"
MESOS_RESOURCES: "cpus(OPS):1;cpus(*):1;mem(OPS):512;mem(*):1024"
MESOS_ATTRIBUTES: "example:value;myNumber:1"
MESOS_ISOLATION: cgroups/cpu,cgroups/mem
MESOS_WORK_DIR: /var/lib/mesos/agent
MESOS_SYSTEMD_ENABLE_SUPPORT: "false"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /sys:/sys
scheduler:
image: hubspot/singularityservice:1.5.0-SNAPSHOT
net: host
environment:
- DOCKER_HOST
- LOAD_BALANCER_URI=http://localhost:8080/baragon/v2/request
- SINGULARITY_SMTP_HOST=localhost
- SINGULARITY_SMTP_PORT=1025
- SINGULARITY_MESOS_FRAMEWORK_ROLE=OPS
- 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
mailhog:
image: mailhog/mailhog
net: host