-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
76 lines (71 loc) · 1.53 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
version: '3'
services:
mongodb:
image: mongo:3.6.23
container_name: mongo
hostname: mongodb
restart: unless-stopped
environment:
- TZ=Europe/London
expose:
- '27017'
event-console:
image: openanswers/panther-console:4.1
container_name: event-console
hostname: console
restart: unless-stopped
environment:
- ADMIN_USERNAME=admin
- ADMIN_PASSWORD=admin
- ADMIN_EMAIL=you@example.com
depends_on:
- mongodb
expose:
- 3001
ports:
- 3001:3001
links:
- mongodb
volumes:
- rules-vol:/app/rules:rw
event-server:
image: openanswers/panther-server:4.1
container_name: event-server
hostname: server
restart: unless-stopped
expose:
- 4002
depends_on:
- mongodb
links:
- mongodb
volumes:
- rules-vol:/app/rules:ro
event-monitors-http:
image: openanswers/panther-monitors:4.1
container_name: event-monitors-http
hostname: event-monitors-http
restart: unless-stopped
ports:
- '5001:5001'
command: http
depends_on:
- event-console
- event-server
volumes:
- rules-vol:/app/rules:ro
event-monitors-syslogd:
image: openanswers/panther-monitors:4.1
container_name: event-monitors-syslogd
hostname: event-monitors-syslogd
restart: unless-stopped
ports:
- '1514:1514'
command: syslogd
depends_on:
- event-console
- event-server
volumes:
- rules-vol:/app/rules:ro
volumes:
rules-vol: