Skip to content

Commit

Permalink
improve scrips.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
miiu96 committed May 25, 2022
1 parent ac3e9b3 commit 8d9ee55
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,9 @@ start_open_search() {
OPEN_VERSION=${DEFAULT_OPEN_SEARCH_VERSION}
fi

echo ${OPEN_VERSION}

docker pull opensearchproject/opensearch:${OPEN_VERSION}

docker rm ${IMAGE_OPEN_SEARCH} 2> /dev/null
docker run -d --name "${IMAGE_OPEN_SEARCH}" -p 9200:9200 -p 9600:9600 \
-e "discovery.type=single-node" -e "plugins.security.disabled=true" -e "ES_JAVA_OPTS=-Xms512m -Xmx512m" \
opensearchproject/opensearch:${OPEN_VERSION}
Expand Down

0 comments on commit 8d9ee55

Please sign in to comment.