Update elastic
This commit is contained in:
parent
9970ba1a06
commit
4d7d6009d1
@ -2,10 +2,10 @@
|
||||
|
||||
SCRIPT_PATH=$( cd "$(dirname "$0")" ; pwd -P )
|
||||
|
||||
IMAGE_NAME="docker.elastic.co/elasticsearch/elasticsearch"
|
||||
IMAGE_VERSION="5.3.2"
|
||||
IMAGE_NAME="elasticsearch"
|
||||
IMAGE_VERSION="2.3.5"
|
||||
|
||||
SERVICE_NAME=elastic-search
|
||||
SERVICE_NAME=ys-elastic-search
|
||||
|
||||
|
||||
source ${SCRIPT_PATH}/../common.shinc
|
||||
@ -23,7 +23,7 @@ init() {
|
||||
__init
|
||||
|
||||
# Create networks
|
||||
NETWORKS=(${SEARCH_ENGINE_NETWORK})
|
||||
NETWORKS=(${SEARCH_ENGINE_NETWORK} ${PROXY_NETWORK})
|
||||
__createNetworks
|
||||
|
||||
__build || return $?
|
||||
@ -36,6 +36,8 @@ init() {
|
||||
|
||||
[[ $? -ne 0 ]] && return 1
|
||||
|
||||
docker network connect ${PROXY_NETWORK} ${SERVICE_NAME}
|
||||
|
||||
__ask_to_start
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user