-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
109 lines (100 loc) · 2.69 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
version: '3'
services:
arbiter:
container_name: shinken_arbiter
image: vietdien2005/shinken-webui2-base:latest
build:
context: ./
links:
- poller
- scheduler
- reactionner
- broker
- receiver
- mongo
command: "/usr/bin/shinken-arbiter -c /etc/shinken/shinken.cfg"
expose:
- "7770"
volumes:
- ./config/etc:/etc/shinken
networks:
- backend
poller:
container_name: shinken_poller
image: vietdien2005/shinken-webui2-base:latest
build:
context: ./
links:
- scheduler
expose:
- 7771
command: "/usr/bin/shinken-poller -c /etc/shinken/daemons/pollerd.ini"
volumes:
- ./config/etc:/etc/shinken
networks:
- backend
scheduler:
container_name: shinken_scheduler
image: vietdien2005/shinken-webui2-base:latest
build:
context: ./
links:
- mongo
expose:
- 7768
command: "/usr/bin/shinken-scheduler -c /etc/shinken/daemons/schedulerd.ini"
volumes:
- ./config/etc:/etc/shinken
networks:
- backend
reactionner:
container_name: shinken_reactionner
image: vietdien2005/shinken-webui2-base:latest
build:
context: ./
links:
- scheduler
expose:
- 7769
command: "/usr/bin/shinken-reactionner -c /etc/shinken/daemons/reactionnerd.ini"
volumes:
- ./config/etc:/etc/shinken
networks:
- backend
broker:
container_name: shinken_broker
image: vietdien2005/shinken-webui2-base:latest
build:
context: ./
command: "/usr/bin/shinken-broker -c /etc/shinken/daemons/brokerd.ini"
expose:
- "7772"
ports:
- 7767:7767
volumes:
- ./config/etc:/etc/shinken
networks:
- backend
- frontend
receiver:
container_name: shinken_receiver
image: vietdien2005/shinken-webui2-base:latest
build:
context: ./
command: "/usr/bin/shinken-receiver -c /etc/shinken/daemons/receiverd.ini"
ports:
- 5667:5667
volumes:
- ./config/etc:/etc/shinken
networks:
- backend
mongo:
container_name: shinken_mongo
image: mongo
networks:
- backend
# volumes:
# - ./data/mongo/data:/data/db
networks:
frontend:
backend: