-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose.server.yml
116 lines (108 loc) · 2.25 KB
/
docker-compose.server.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
version: "3.2"
networks:
rabbit:
influx:
services:
###################
## Rabbit Server ##
###################
# https://registry.hub.docker.com/_/rabbitmq/
rabbit-server:
image: rabbitmq:3.8
networks:
- rabbit
ports:
- "5672:5672" # exposed to host because kiscap2amqp needs networkmode: host
restart: unless-stopped
##################
## Eewids Stuff ##
##################
eewids-parser:
build: eewids-parser
networks:
- rabbit
tty: true
stdin_open: true
entrypoint:
- python
- ./eewids-parser.py
- --rabbit_host
- rabbit-server
depends_on:
- rabbit-server
restart: unless-stopped
###################
## Visualization ##
###################
telegraf:
image: telegraf:1.14
volumes:
- ./etc/telegraf.conf:/etc/telegraf/telegraf.conf:ro
depends_on:
- rabbit-server
- influxdb
networks:
- influx
- rabbit
expose:
- "8092/udp"
- "8094"
- "8125/udp"
restart: unless-stopped
influxdb:
image: influxdb:1.8
volumes:
- ./data/influxdb:/var/lib/influxdb
networks:
- influx
expose:
- "8086"
restart: unless-stopped
# https://grafana.com/docs/grafana/latest/installation/docker/
grafana:
image: grafana/grafana:7.0.5
volumes:
- ./data/grafana:/var/lib/grafana
- ./etc/grafana/grafana.ini:/etc/grafana/grafana.ini:ro
- ./etc/grafana/provisioning:/etc/grafana/provisioning
- ./etc/grafana/dashboards:/etc/grafana/dashboards
depends_on:
- influxdb
networks:
- influx
ports:
- "3000:3000"
restart: unless-stopped
#############
## Plugins ##
#############
# rogueap:
# build: plugins/rogueAP/
# networks:
# - rabbit
# volumes:
# - type: bind
# source: ./data/rogueAP
# target: /lists
# tty: true
# stdin_open: true
# depends_on:
# - rabbit-server
# - eewids-parser
# entrypoint:
# - python
# - rogueap.py
# - --train
# - --info
# restart: on-failure
#
# logprint:
# build: plugins/logprint
# networks:
# - rabbit
# tty: true
# stdin_open: true
# depends_on:
# - rabbit-server
# - eewids-parser
# restart: on-failure