forked from moira-alert/doc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
61 lines (53 loc) · 883 Bytes
/
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
version: "3"
services:
redis:
image: redis:alpine
filter:
image: moira/filter
ports:
- "2003:2003"
depends_on:
- redis
links:
- redis:localhost
checker:
image: moira/checker
depends_on:
- redis
- filter
links:
- redis:localhost
notifier:
image: moira/notifier
depends_on:
- redis
- checker
links:
- redis:localhost
api:
image: moira/api
depends_on:
- redis
- checker
links:
- redis:localhost
networks:
- default
- balancer
web:
image: moira/web2
networks:
- balancer
balancer:
image: nginx:alpine
ports:
- "8080:8083"
depends_on:
- web
- api
networks:
- balancer
volumes:
- ./docker-compose.nginx.conf:/etc/nginx/conf.d/moira.conf
networks:
balancer: