Skip to content

Commit

Permalink
update ES in mindmeld_init.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
tmehlinger committed Dec 20, 2021
1 parent d21532e commit 1ff40df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/mindmeld_init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ function check_os_and_execute_deps() {
if [[ ($command == "elasticsearch") && ($is_200_ok == 0) ]]; then
echo no
echo " " starting elasticsearch ...
sudo docker run -d -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.8.0
sudo docker run -d -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.16.2
else
echo yes
fi
Expand Down Expand Up @@ -197,8 +197,8 @@ function check_os_and_execute_deps() {
elif [[ $command == "pip" ]]; then
sudo apt install python-pip
elif [[ $command == "elasticsearch" && NEEDS_ES_DEP_INSTALL == 1 ]]; then
sudo docker pull docker.elastic.co/elasticsearch/elasticsearch:7.8.0
sudo docker run -d -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.8.0
sudo docker pull docker.elastic.co/elasticsearch/elasticsearch:7.16.2
sudo docker run -d -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.16.2
elif [[ $command == "virtualenv" ]]; then
sudo apt install virtualenv
fi
Expand Down

0 comments on commit 1ff40df

Please sign in to comment.