From 65092c6665f4b12df4804ce3a4804a63e97934b3 Mon Sep 17 00:00:00 2001 From: Ark74 Date: Wed, 29 Nov 2023 04:03:56 -0600 Subject: [PATCH] set opensearch v1.x --- opensearch-1.x-node-installer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opensearch-1.x-node-installer.sh b/opensearch-1.x-node-installer.sh index 1b54a77..c95dc0b 100644 --- a/opensearch-1.x-node-installer.sh +++ b/opensearch-1.x-node-installer.sh @@ -22,7 +22,7 @@ OPNSDIR="/opt/opensearch" INDEX_USER="$(tr -dc '[:lower:]' < /dev/urandom | fold -w 24 | head -n1)" OPNSREST="$(tr -dc "a-zA-Z0-9" < /dev/urandom | fold -w 32 | head -n1)" PUBLIC_IP="$(dig -4 +short myip.opendns.com @resolver1.opendns.com)" -opens_fts="opensearchproject/opensearch" +opens_fts="opensearchproject/opensearch:1" fts_node="fts_os-node" max_map_count="512000" NL="$(printf '\n ')" @@ -248,7 +248,7 @@ cat << YML_DOCKER_COMPOSE > $OPNSDIR/docker-compose.yml version: '3' services: fts_os-node: - image: opensearchproject/opensearch:1 + image: $opens_fts container_name: fts_os-node restart: always command: