forked from eBayClassifiedsGroup/PanteraS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml.tpl
74 lines (64 loc) · 2.53 KB
/
docker-compose.yml.tpl
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
69
70
71
72
73
74
panteras:
image: ${PANTERAS_DOCKER_IMAGE}
net: host
privileged: true
restart: "${PANTERAS_RESTART}"
${PORTS}
${CONSUL_UI_PORTS}
${MARATHON_PORTS}
${MESOS_PORTS}
${CHRONOS_PORTS}
environment:
CONSUL_IP: "${CONSUL_IP}"
HOST_IP: "${HOST_IP}"
LISTEN_IP: "${LISTEN_IP}"
FQDN: "${FQDN}"
GOMAXPROCS: "${GOMAXPROCS}"
SERVICE_8500_NAME: consul-ui
SERVICE_8500_TAGS: haproxy
SERVICE_8500_CHECK_HTTP: /v1/status/leader
SERVICE_8080_NAME: marathon
SERVICE_8080_TAGS: haproxy
SERVICE_8080_CHECK_HTTP: /v2/leader
SERVICE_5050_NAME: mesos
SERVICE_5050_TAGS: haproxy
SERVICE_5050_CHECK_HTTP: /master/health
SERVICE_4400_NAME: chronos
SERVICE_4400_TAGS: haproxy
SERVICE_4400_CHECK_HTTP: /ping
START_CONSUL: "${START_CONSUL}"
START_CONSUL_TEMPLATE: "${START_CONSUL_TEMPLATE}"
START_DNSMASQ: "${START_DNSMASQ}"
START_MESOS_MASTER: "${START_MESOS_MASTER}"
START_MARATHON: "${START_MARATHON}"
START_MESOS_SLAVE: "${START_MESOS_SLAVE}"
START_REGISTRATOR: "${START_REGISTRATOR}"
START_ZOOKEEPER: "${START_ZOOKEEPER}"
START_CHRONOS: "${START_CHRONOS}"
START_FABIO: "${START_FABIO}"
CONSUL_APP_PARAMS: "${CONSUL_APP_PARAMS}"
CONSUL_DOMAIN: "${CONSUL_DOMAIN}"
CONSUL_TEMPLATE_APP_PARAMS: "${CONSUL_TEMPLATE_APP_PARAMS}"
DNSMASQ_APP_PARAMS: "${DNSMASQ_APP_PARAMS}"
HAPROXY_ADD_DOMAIN: "${HAPROXY_ADD_DOMAIN}"
MARATHON_APP_PARAMS: "${MARATHON_APP_PARAMS}"
MESOS_MASTER_APP_PARAMS: "${MESOS_MASTER_APP_PARAMS}"
MESOS_SLAVE_APP_PARAMS: "${MESOS_SLAVE_APP_PARAMS}"
REGISTRATOR_APP_PARAMS: "${REGISTRATOR_APP_PARAMS}"
ZOOKEEPER_APP_PARAMS: "${ZOOKEEPER_APP_PARAMS}"
ZOOKEEPER_HOSTS: "${ZOOKEEPER_HOSTS}"
ZOOKEEPER_ID: "${ZOOKEEPER_ID}"
KEEPALIVED_VIP: "${KEEPALIVED_VIP}"
CHRONOS_APP_PARAMS: "${CHRONOS_APP_PARAMS}"
FABIO_APP_PARAMS: "${FABIO_APP_PARAMS}"
HOSTNAME: "${PANTERAS_HOSTNAME}"
env_file:
./restricted/env
volumes:
- "/etc/resolv.conf:/etc/resolv.conf.orig"
- "/var/spool/marathon/artifacts/store:/var/spool/store"
- "/var/run/docker.sock:/tmp/docker.sock"
- "/var/lib/docker:/var/lib/docker"
- "/sys:/sys"
- "/tmp/mesos:/tmp/mesos"
${VOLUME_DOCKER}