This commit is contained in:
Stefan Hardegger
2025-09-21 19:18:03 +02:00
parent 0032590030
commit b1ff684df6
2 changed files with 2 additions and 1 deletions

View File

@@ -45,6 +45,7 @@ RUN mkdir -p /usr/share/opensearch/data && \
echo "logger.level: DEBUG" >> /usr/share/opensearch/config/opensearch.yml && \
echo "node.processors: 1" >> /usr/share/opensearch/config/opensearch.yml && \
rm -rf /usr/share/opensearch/plugins/opensearch-performance-analyzer && \
rm -rf /usr/share/opensearch/agent && \
echo "# Custom JVM options for Synology NAS compatibility" > /usr/share/opensearch/config/jvm.options.d/synology.options && \
echo "-Dlucene.useVectorAPI=false" >> /usr/share/opensearch/config/jvm.options.d/synology.options && \
echo "-Dorg.apache.lucene.store.MMapDirectory.enableMemorySegments=false" >> /usr/share/opensearch/config/jvm.options.d/synology.options && \