set opensearch v1.x
This commit is contained in:
parent
6046507f5a
commit
65092c6665
|
@ -22,7 +22,7 @@ OPNSDIR="/opt/opensearch"
|
||||||
INDEX_USER="$(tr -dc '[:lower:]' < /dev/urandom | fold -w 24 | head -n1)"
|
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)"
|
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)"
|
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"
|
fts_node="fts_os-node"
|
||||||
max_map_count="512000"
|
max_map_count="512000"
|
||||||
NL="$(printf '\n ')"
|
NL="$(printf '\n ')"
|
||||||
|
@ -248,7 +248,7 @@ cat << YML_DOCKER_COMPOSE > $OPNSDIR/docker-compose.yml
|
||||||
version: '3'
|
version: '3'
|
||||||
services:
|
services:
|
||||||
fts_os-node:
|
fts_os-node:
|
||||||
image: opensearchproject/opensearch:1
|
image: $opens_fts
|
||||||
container_name: fts_os-node
|
container_name: fts_os-node
|
||||||
restart: always
|
restart: always
|
||||||
command:
|
command:
|
||||||
|
|
Loading…
Reference in New Issue