-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
45 lines (45 loc) · 1.33 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
services:
dashboard:
networks:
somenetwork:
ports:
- "5601:5601"
image: kibana:8.16.1
volumes:
- ./data/dashboard:/usr/share/kibana/data
environment:
- "ELASTICSEARCH_HOSTS=http://elasticsearch:9200"
- "xpack.security.enabled=false"
elasticsearch:
networks:
somenetwork:
ports:
- "9200:9200"
- "9300:9300"
environment:
- "discovery.type=single-node"
- "xpack.security.enrollment.enabled=false"
- "xpack.security.enabled=false"
- "ES_JAVA_OPTS=-Xms1024m -Xmx2048m"
image: elasticsearch:8.16.1
volumes:
- ./data/elasticsearch:/usr/share/elasticsearch/data
beats:
image: docker.elastic.co/beats/filebeat:8.16.1
networks:
somenetwork:
volumes:
- ./data/suricata/logs:/suricata-logs
- ./config/filebeats/filebeat.yml:/usr/share/filebeat/filebeat.yml
suricata:
build:
context: ./Dockerfiles/suricata/.
network_mode: host
volumes:
- ./config/suricata/suricata.yml:/etc/suricata/suricata.yml
- ./data/suricata/rules:/var/lib/suricata/rules
- ./data/suricata/logs:/var/log/suricata/
# change wlp3s0 by result of ip addr
command: /bin/bash -c "suricata-update && suricata -c /etc/suricata/suricata.yaml -i br_juice && tail -f /var/log/cron.log"
networks:
somenetwork: