Skip to content

Commit

Permalink
opensearch
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaofeng1227 committed Mar 12, 2024
1 parent 6e006df commit c718860
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions apps/opensearch/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ version: '3.8'
services:
opensearch-node:
image: $W9_REPO:$W9_VERSION
container_name: $W9_RCODE
container_name: $W9_ID
hostname: $W9_RCODE
environment:
- cluster.name=opensearch-cluster
- node.name=$W9_RCODE
#- node.name=$W9_ID
- discovery.type=single-node
- bootstrap.memory_lock=true # along with the memlock settings below, disables swapping
- OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m # minimum and maximum Java heap size, recommend setting both to 50% of system RAM
Expand Down
2 changes: 1 addition & 1 deletion apps/opensearch/variables.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{
"dist": "community",
"version": [
"2.11.1",
"2.12.0",
"latest"
]
}
Expand Down

0 comments on commit c718860

Please sign in to comment.