-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yml
114 lines (114 loc) · 2.55 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
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
version: "3.5"
services:
m3db_seed:
networks:
- backend
image: quay.io/m3db/m3dbnode:latest
volumes:
- "./config/m3/m3dbnode.yml:/etc/m3dbnode/m3dbnode.yml"
- "./config/m3/schema.proto:/etc/m3dbnode/schema.proto"
environment:
- M3DB_HOST_ID=m3db_seed
expose:
- "2379"
- "9002"
- "9003"
- "9004"
ports:
- "0.0.0.0:2379:2379"
- "0.0.0.0:9002:9002"
- "0.0.0.0:9003:9003"
- "0.0.0.0:9004:9004"
privileged: true
cap_add:
- ALL
m3coordinator:
expose:
- "7201"
- "7203"
- "7204"
- "7507"
ports:
- "0.0.0.0:7201:7201"
- "0.0.0.0:7203:7203"
- "0.0.0.0:7204:7204"
- "0.0.0.0:7507:7507"
networks:
- backend
image: quay.io/m3db/m3coordinator:latest
volumes:
- "./config/m3/m3coordinator.yml:/etc/m3coordinator/m3coordinator.yml"
- "./config/m3/schema.proto:/etc/m3coordinator/schema.proto"
depends_on:
- "m3db_seed"
m3query:
expose:
- "7201"
- "7203"
- "7204"
- "7507"
ports:
- "0.0.0.0:7221:7201"
- "0.0.0.0:7223:7203"
- "0.0.0.0:7224:7204"
- "0.0.0.0:7527:7507"
networks:
- backend
image: quay.io/m3db/m3query:latest
volumes:
- "./config/m3/m3query.yml:/etc/m3query/m3query.yml"
depends_on:
- "provisioner"
prometheus:
expose:
- "9090"
ports:
- "0.0.0.0:9090:9090"
networks:
- backend
image: prom/prometheus:latest
volumes:
- "./config/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml"
depends_on:
- "provisioner"
provisioner:
environment:
- USE_MULTI_DB_NODES=false
- USE_MULTI_PROMETHEUS_NODES=false
networks:
- backend
image: dwdraju/alpine-curl-jq:latest
depends_on:
- "m3db_seed"
volumes:
- "./bin/provision.sh:/tmp/provision.sh"
entrypoint: /tmp/provision.sh
grafana:
expose:
- "3000"
ports:
- "0.0.0.0:3000:3000"
networks:
- backend
image: grafana/grafana:latest
volumes:
- "./config/grafana/provisioning/:/etc/grafana/provisioning/"
- "./config/grafana/dashboards/:/var/lib/grafana/dashboards/"
environment:
- GF_LOG_LEVEL=error
depends_on:
- "provisioner"
fluentbit:
expose:
- "2021"
ports:
- "0.0.0.0:2021:2021"
networks:
- backend
image: fluent/fluent-bit:1.8.4
volumes:
- "./config/fluentbit/:/fluent-bit/etc/"
depends_on:
- "provisioner"
networks:
backend: