File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 22
22
elasticsearch_db_service :
23
23
image : docker.elastic.co/elasticsearch/elasticsearch:7.11.0
24
24
env :
25
- xpack.security.enabled : false
25
+ discovery.type : single-node
26
+ network.host : 0.0.0.0
27
+ http.port : 9200
28
+ " ES_JAVA_OPTS: -Xms512m -Xmx512m"
26
29
ports :
27
30
- 9200:9200
28
31
Original file line number Diff line number Diff line change @@ -33,8 +33,12 @@ services:
33
33
container_name : es-container
34
34
image : docker.elastic.co/elasticsearch/elasticsearch:7.11.0
35
35
environment :
36
- - xpack.security.enabled=false
37
- - " discovery.type=single-node"
36
+ - node.name=es01
37
+ - cluster.name=stac-cluster
38
+ - discovery.type=single-node
39
+ - network.host=0.0.0.0
40
+ - http.port=9200
41
+ - " ES_JAVA_OPTS=-Xms512m -Xmx512m"
38
42
ports :
39
43
- 9200:9200
40
44
You can’t perform that action at this time.
0 commit comments