another try

This commit is contained in:
Stefan Hardegger
2025-09-21 17:53:52 +02:00
parent 6c02b8831f
commit 7daed22d2d
2 changed files with 20 additions and 8 deletions

View File

@@ -85,7 +85,7 @@ services:
- node.name=opensearch-node
- discovery.type=single-node
- bootstrap.memory_lock=false
- "OPENSEARCH_JAVA_OPTS=-Xms256m -Xmx512m --add-opens=java.base/java.lang=ALL-UNNAMED -Dlucene.useVectorAPI=false -Dorg.apache.lucene.store.MMapDirectory.enableMemorySegments=false"
- "OPENSEARCH_JAVA_OPTS=-Xms256m -Xmx512m --add-opens=java.base/java.lang=ALL-UNNAMED -Dlucene.useVectorAPI=false -Dorg.apache.lucene.store.MMapDirectory.enableMemorySegments=false -verbose:class -verbose:gc"
- "DISABLE_INSTALL_DEMO_CONFIG=true"
- "DISABLE_SECURITY_PLUGIN=true"
- "DISABLE_PERFORMANCE_ANALYZER_AGENT_CLI=true"
@@ -97,6 +97,13 @@ services:
memory: 1G
reservations:
memory: 512M
stop_grace_period: 30s
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:9200/_cluster/health || exit 1"]
interval: 30s
timeout: 10s
retries: 5
start_period: 120s
ulimits:
memlock:
soft: -1
@@ -109,12 +116,6 @@ services:
networks:
- storycove-network
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:9200 || exit 1"]
interval: 30s
timeout: 10s
retries: 5
start_period: 60s
opensearch-dashboards:
image: opensearchproject/opensearch-dashboards:3.2.0