-
Notifications
You must be signed in to change notification settings - Fork 68
/
docker-compose.yml
125 lines (115 loc) · 2.37 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
115
116
117
118
119
120
121
122
123
124
125
version: "3.7"
services:
redis:
image: redis:6.2.12-alpine3.18
volumes:
- data:/data
ports:
- "6379:6379"
restart: always
graphite:
image: graphiteapp/graphite-statsd
ports:
- "7080:80"
restart: always
prometheus:
image: prom/prometheus
volumes:
- ./local/prometheus.yml:/etc/prometheus/prometheus.yml
command: "--config.file=/etc/prometheus/prometheus.yml --storage.tsdb.path=/prometheus"
ports:
- "9080:9090"
restart: always
prometheus_2:
image: prom/prometheus
volumes:
- ./local/prometheus.yml:/etc/prometheus/prometheus.yml
command: "--config.file=/etc/prometheus/prometheus.yml --storage.tsdb.path=/prometheus"
ports:
- "9081:9090"
restart: always
filter:
build:
context: .
dockerfile: Dockerfile.filter
volumes:
- ./local/filter.yml:/etc/moira/filter.yml
depends_on:
- redis
- relay
ports:
- "8094:8094"
restart: always
checker:
build:
context: .
dockerfile: Dockerfile.checker
volumes:
- ./local/checker.yml:/etc/moira/checker.yml
depends_on:
- redis
- filter
- graphite
- relay
ports:
- "8092:8092"
restart: always
notifier:
build:
context: .
dockerfile: Dockerfile.notifier
volumes:
- ./local/notifier.yml:/etc/moira/notifier.yml
depends_on:
- redis
- checker
- relay
ports:
- "8093:8093"
restart: always
api:
build:
context: .
dockerfile: Dockerfile.api
volumes:
- ./local/api.yml:/etc/moira/api.yml
depends_on:
- redis
- checker
- relay
networks:
- default
- balancer
ports:
- "8091:8091"
web:
image: moira/web2
networks:
- balancer
restart: always
balancer:
image: nginx:alpine
ports:
- "8080:8080"
depends_on:
- web
- api
networks:
- balancer
volumes:
- ./local/nginx.conf:/etc/nginx/conf.d/moira.conf
restart: always
relay:
image: openitcockpit/carbon-c-relay
ports:
- "2003:2003"
depends_on:
- graphite
volumes:
- ./local/relay.conf:/opt/carbon-c-relay/relay.conf
command: /opt/carbon-c-relay/bin/relay -E -s -f /opt/carbon-c-relay/relay.conf
restart: always
networks:
balancer:
volumes:
data: