-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathelasitc-docker.yml
More file actions
53 lines (49 loc) · 1.1 KB
/
elasitc-docker.yml
File metadata and controls
53 lines (49 loc) · 1.1 KB
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
version: '3'
services:
elasticsearch:
container_name: elasticsearch
image: docker.elastic.co/elasticsearch/elasticsearch:8.16.1
environment:
- CLI_JAVA_OPTS=-Xms2g -Xmx2g
- bootstrap.memory_lock=true
- discovery.type=single-node
- xpack.security.enabled=false
- xpack.security.enrollment.enabled=false
ports:
- "9200:9200"
networks:
- elastic
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
volumes:
- elasticsearch_data:/usr/share/elasticsearch/data
deploy:
resources:
limits:
cpus: '2.0'
reservations:
cpus: '1.0'
kibana:
container_name: kibana
image: docker.elastic.co/kibana/kibana:8.16.1
environment:
- XPACK_ENCRYPTEDSAVEDOBJECTS_ENCRYPTIONKEY=d1a66dfd-c4d3-4a0a-8290-2abcb83ab3aa
ports:
- "5601:5601"
networks:
- elastic
deploy:
resources:
limits:
cpus: '2.0'
reservations:
cpus: '1.0'
networks:
elastic:
volumes:
elasticsearch_data: