This commit is contained in:
Stefan Hardegger
2025-09-21 17:30:15 +02:00
parent a037dd92af
commit a472c11ac8
2 changed files with 15 additions and 5 deletions

View File

@@ -85,16 +85,16 @@ services:
- node.name=opensearch-node
- discovery.type=single-node
- bootstrap.memory_lock=false
- "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx1g"
- "OPENSEARCH_JAVA_OPTS=-Xms256m -Xmx512m --add-opens=java.base/java.lang=ALL-UNNAMED"
- "DISABLE_INSTALL_DEMO_CONFIG=true"
- "DISABLE_SECURITY_PLUGIN=true"
- "DISABLE_PERFORMANCE_ANALYZER_AGENT_CLI=true"
deploy:
resources:
limits:
memory: 2G
reservations:
memory: 1G
reservations:
memory: 512M
ulimits:
memlock:
soft: -1