-
Notifications
You must be signed in to change notification settings - Fork 61
/
docker-compose.yml.tpl
85 lines (74 loc) · 2.86 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
75
76
77
78
79
80
81
82
83
84
85
panteras:
image: ${PANTERAS_DOCKER_IMAGE}
# net: bridge
net: host
privileged: true
pid: host
restart: "${PANTERAS_RESTART}"
ports:
- "9000:9000"
${FABIO_UI_PORTS}
${TRAEFIK_UI_PORTS}
${CONSUL_UI_PORTS}
${MARATHON_PORTS}
${MESOS_PORTS}
${NETDATA_PORTS}
environment:
CONSUL_IP: "${CONSUL_IP}"
HOST_IP: "${HOST_IP}"
LISTEN_IP: "${LISTEN_IP}"
FQDN: "${FQDN}"
GOMAXPROCS: "${GOMAXPROCS}"
SERVICE_81_NAME: router-ui
SERVICE_81_TAGS: paas-router.ui.service.consul/
SERVICE_81_CHECK_HTTP: /routes
SERVICE_8500_NAME: consul-ui
SERVICE_8500_TAGS: paas-consul.ui.service.consul/
SERVICE_8500_CHECK_HTTP: /v1/status/leader
SERVICE_8080_NAME: marathon
SERVICE_8080_TAGS: paas-marathon.ui.service.consul/
SERVICE_8080_CHECK_HTTP: /v2/leader
SERVICE_5050_NAME: mesos
SERVICE_5050_TAGS: paas-mesos.service.consul/
SERVICE_5050_CHECK_HTTP: /master/health
SERVICE_19999_NAME: netdata
SERVICE_19999_TAGS: paas-netdata.service.consul/
SERVICE_19999_CHECK_HTTP: /version.txt
START_CONSUL: "${START_CONSUL}"
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_FABIO: "${START_FABIO}"
START_TRAEFIK: "${START_TRAEFIK}"
START_NETDATA: "${START_NETDATA}"
CONSUL_APP_PARAMS: "${CONSUL_APP_PARAMS}"
CONSUL_DOMAIN: "${CONSUL_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}"
JVMFLAGS: "${ZOOKEEPER_JAVA_OPTS}"
ZOOKEEPER_APP_PARAMS: "${ZOOKEEPER_APP_PARAMS}"
ZOOKEEPER_HOSTS: "${ZOOKEEPER_HOSTS}"
ZOOKEEPER_ID: "${ZOOKEEPER_ID}"
FABIO_APP_PARAMS: "${FABIO_APP_PARAMS}"
TRAEFIK_APP_PARAMS: "${TRAEFIK_APP_PARAMS}"
NETDATA_APP_PARAMS: "${NETDATA_APP_PARAMS}"
HOSTNAME: "${PANTERAS_HOSTNAME}"
env_file:
./restricted/env
volumes:
- "/etc/resolv.conf:/etc/resolv.conf.orig"
- "/var/run/docker.sock:/tmp/docker.sock"
- "/var/run/docker.sock:/var/run/docker.sock"
- "/var/lib/docker:/var/lib/docker"
- "/sys:/sys"
- "/tmp/mesos:/tmp/mesos${SHARED}"
- "/tmp/supervisord:/tmp/supervisord"
- "/tmp/consul/data:/opt/consul/data"
- "/tmp/zookeeper:/var/lib/zookeeper/version-2"
- "/proc:/host/proc:ro"
- "/sys:/host/sys:ro"
${VOLUME_DOCKER}