File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : ' 3'
2
+
3
+ services :
4
+ elasticsearch :
5
+ container_name : elasticsearch
6
+ image : docker.elastic.co/elasticsearch/elasticsearch:8.16.1
7
+ environment :
8
+ - CLI_JAVA_OPTS=-Xms2g -Xmx2g
9
+ - bootstrap.memory_lock=true
10
+ - discovery.type=single-node
11
+ - xpack.security.enabled=false
12
+ - xpack.security.enrollment.enabled=false
13
+ ports :
14
+ - " 9200:9200"
15
+ networks :
16
+ - elastic
17
+ ulimits :
18
+ memlock :
19
+ soft : -1
20
+ hard : -1
21
+ nofile :
22
+ soft : 65536
23
+ hard : 65536
24
+ volumes :
25
+ - elasticsearch_data:/usr/share/elasticsearch/data
26
+ deploy :
27
+ resources :
28
+ limits :
29
+ cpus : ' 2.0'
30
+ reservations :
31
+ cpus : ' 1.0'
32
+
33
+
34
+ kibana :
35
+ container_name : kibana
36
+ image : docker.elastic.co/kibana/kibana:8.16.1
37
+ environment :
38
+ - XPACK_ENCRYPTEDSAVEDOBJECTS_ENCRYPTIONKEY=d1a66dfd-c4d3-4a0a-8290-2abcb83ab3aa
39
+ ports :
40
+ - " 5601:5601"
41
+ networks :
42
+ - elastic
43
+ deploy :
44
+ resources :
45
+ limits :
46
+ cpus : ' 2.0'
47
+ reservations :
48
+ cpus : ' 1.0'
49
+
50
+ networks :
51
+ elastic :
52
+ volumes :
53
+ elasticsearch_data :
You can’t perform that action at this time.
0 commit comments