forked from mammo0/docker-arkime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
52 lines (46 loc) · 1.15 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
version: '2.2'
x-es_instance: &_es_instance
image: docker.elastic.co/elasticsearch/elasticsearch:$ES_VERSION
mem_limit: $ES_MAX_MEM
ulimits:
nofile:
soft: 65535
hard: 65535
memlock:
soft: -1
hard: -1
networks:
- arkime-elastic
services:
es01:
<<: *_es_instance
container_name: $ES_NODE1
environment:
- node.name=$ES_NODE1
- discovery.type=single-node
- cluster.name=es-arkime-cluster
- bootstrap.memory_lock=true
volumes:
- $ES_DATA_DIR/$ES_NODE1:/usr/share/elasticsearch/data
arkime:
build:
context: .
dockerfile: Dockerfile
depends_on:
- $ES_NODE1
environment:
- ES_HOST=$ES_NODE1
- ES_PORT=9200
ports:
- $ARKIME_PORT:8005
volumes:
- arkime_config:/data/config
- arkime_logs:/data/logs
- $PCAP_DIR:/data/pcap
networks:
- arkime-elastic
volumes:
arkime_config:
arkime_logs:
networks:
arkime-elastic: