Skip to content

Commit

Permalink
Tweak elastic config to avoit 137
Browse files Browse the repository at this point in the history
  • Loading branch information
minottic committed Nov 15, 2024
1 parent 09f2ceb commit 0a54760
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion services/backend/services/v4/services/elastic/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:
image: docker.elastic.co/elasticsearch/elasticsearch:8.16.0
volumes:
- esdata:/usr/share/elasticsearch/data
mem_limit: 1073741824
mem_limit: 1.5g
ulimits:
memlock:
soft: -1
Expand Down
3 changes: 2 additions & 1 deletion services/backend/services/v4/services/elastic/config/.env
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
node.name=es01
cluster.name=docker-cluster
cluster.initial_master_nodes=es01
ELASTIC_PASSWORD="password"
bootstrap.memory_lock=true
xpack.security.enabled=false
xpack.security.http.ssl.enabled=false
xpack.security.transport.ssl.enabled=false
xpack.license.self_generated.type=basic
ES_JAVA_OPTS="-Xms512m -Xmx512m"
discovery.type=single-node
xpack.ml.enabled=false

0 comments on commit 0a54760

Please sign in to comment.