-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
51 lines (49 loc) · 1.16 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
version: '2'
services:
docker-moloch:
container_name: moloch
privileged: true
security_opt:
- label:disable
volumes:
- ./docker-moloch/scripts:/data/script/
- /var/tmp/moloch/pcap:/data/pcap
build:
context: ./docker-moloch
dockerfile: Dockerfile
ports:
- "8005:8005"
depends_on:
- es-moloch
environment:
PASSWORD_MOLOCH: "moloch"
PASSWORD_MOLOCH_SHELL: "M0LoCh_ShElL"
es-moloch:
restart: unless-stopped
container_name: esmoloch
security_opt:
- label:disable
image: docker.elastic.co/elasticsearch/elasticsearch:6.5.1
environment:
- "ES_JAVA_OPTS=-Xms4g -Xmx4g"
volumes:
- /var/opt/docker-persistence/elasticsearch/data:/usr/share/elasticsearch/data
ports:
- "9202:9200"
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
es-kibana:
restart: unless-stopped
container_name: eskibana
security_opt:
- label:disable
image: docker.elastic.co/kibana/kibana:6.5.1
volumes:
- ./kibana.yml:/usr/share/kibana/config/kibana.yml
ports:
- "5601:5601"