Made it work with Opensearch >=2.12.0 with improved password etc

This commit is contained in:
Frikky
2024-03-21 18:30:51 +01:00
parent 923b0e1ca4
commit 16ef8082d2
4 changed files with 25 additions and 30 deletions
+3 -1
View File
@@ -60,9 +60,10 @@ services:
security_opt:
- seccomp:unconfined
opensearch:
image: opensearchproject/opensearch:2.11.0
image: opensearchproject/opensearch:2.12.0
hostname: shuffle-opensearch
container_name: shuffle-opensearch
env_file: .env
environment:
- "OPENSEARCH_JAVA_OPTS=-Xms2048m -Xmx2048m" # minimum and maximum Java heap size, recommend setting both to 50% of system RAM
- bootstrap.memory_lock=true
@@ -73,6 +74,7 @@ services:
- node.name=shuffle-opensearch
- node.store.allow_mmap=false
- discovery.seed_hosts=shuffle-opensearch
- OPENSEARCH_INITIAL_ADMIN_PASSWORD=${SHUFFLE_OPENSEARCH_PASSWORD}
ulimits:
memlock:
soft: -1