X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=deliveries%2Flocal-dev-host-start.sh;h=8355983a3c2a822cba30d933cfd06abfaa65237f;hb=83de9db899ebf7ec87220670d6f5cf35a10d087b;hp=4230c393c1b3c1ded4139eb08066c591f50d9faf;hpb=21a8761f684745bb300e075c7e98ad897ace9eed;p=portal.git diff --git a/deliveries/local-dev-host-start.sh b/deliveries/local-dev-host-start.sh index 4230c393..8355983a 100644 --- a/deliveries/local-dev-host-start.sh +++ b/deliveries/local-dev-host-start.sh @@ -20,6 +20,8 @@ echo "Using properties directory $PROPS_DIR" # Constants as of Oct 2017, Amsterdam release NEXUS_REPO=nexus3.onap.org:10001 CLI_IMG_VERSION=1.1-STAGING-latest +CDR_IMG_VERSION=latest +ZK_IMG_VERSION=3.4 # Pull and tag the CLI image, which is provided elsewhere. # Authenticate like this; the username and password are NOT stored here. @@ -27,15 +29,23 @@ docker login -u username -p password $NEXUS_REPO docker pull $NEXUS_REPO/$CLI_IMG_NAME:${CLI_IMG_VERSION} docker tag $NEXUS_REPO/$CLI_IMG_NAME:${CLI_IMG_VERSION} $CLI_IMG_NAME:$PORTAL_TAG +# Pull and tag the Music Cassandra image. +docker pull $NEXUS_REPO/$CDR_IMG_NAME:${CDR_IMG_VERSION} +docker tag $NEXUS_REPO/$CDR_IMG_NAME:${CDR_IMG_VERSION} $CDR_IMG_NAME:$PORTAL_TAG + +# Pull and tag the ZK image. +docker pull library/$ZK_IMG_NAME:${ZK_IMG_VERSION} +docker tag library/$ZK_IMG_NAME:${ZK_IMG_VERSION} $ZK_IMG_NAME:$PORTAL_TAG + # Create local logs directory # The leading "./" is required for docker-compose export LOGS_DIR=./logs mkdir -p $LOGS_DIR # Make inter-app communication work in dev3 -export EXTRA_HOST_IP="135.207.161.175" +export EXTRA_HOST_IP=localhost export EXTRA_HOST_NAME="portal.api.simpledemo.onap.org" # (re)start containers docker-compose down -docker-compose up -d +docker-compose up -d \ No newline at end of file