This repository has been archived by the owner on May 21, 2020. It is now read-only.
forked from moira-alert/moira
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
83 lines (74 loc) · 1.45 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
version: "3.7"
services:
redis:
image: redis:alpine
graphite:
image: graphiteapp/graphite-statsd
ports:
- "7080:80"
filter:
build:
context: .
dockerfile: Dockerfile.filter
volumes:
- ./local/filter.yml:/etc/moira/filter.yml
depends_on:
- redis
checker:
build:
context: .
dockerfile: Dockerfile.checker
volumes:
- ./local/checker.yml:/etc/moira/checker.yml
depends_on:
- redis
- filter
- graphite
notifier:
build:
context: .
dockerfile: Dockerfile.notifier
volumes:
- ./local/notifier.yml:/etc/moira/notifier.yml
depends_on:
- redis
- checker
api:
build:
context: .
dockerfile: Dockerfile.api
volumes:
- ./local/api.yml:/etc/moira/api.yml
depends_on:
- redis
- checker
networks:
- default
- balancer
web:
image: moira/web2
networks:
- balancer
balancer:
image: nginx:alpine
ports:
- "8080:8083"
depends_on:
- web
- api
networks:
- balancer
volumes:
- ./local/nginx.conf:/etc/nginx/conf.d/moira.conf
relay:
image: bodsch/docker-carbon-c-relay
ports:
- "2003:2003"
depends_on:
- graphite
- filter
volumes:
- ./local/relay.conf:/home/relay/carbon-c-relay.conf
command: /usr/bin/relay -E -s -f /home/relay/carbon-c-relay.conf
networks:
balancer: