Skip to content

Commit

Permalink
Added $REDIS_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
padmassun authored Jun 6, 2018
1 parent f5bb835 commit 63ddd60
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docker/deployment/scripts/aws_osserver_init.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash -e
MONGO_VERSION=3.4.10
REDIS_VERSION=4.0.6
echo ""
echo "------------------------------------------------------------------------"
echo "Creating data volume regdata to persist registry data for provision"
Expand Down Expand Up @@ -48,7 +49,7 @@ echo "Pulling redis from DockerHub"
echo "------------------------------------------------------------------------"
echo ""
sleep 1
docker pull redis:4.0.6
docker pull redis:$REDIS_VERSION
sleep 1

echo ""
Expand All @@ -63,8 +64,8 @@ docker tag nrel/openstudio-rserve:$OSSERVER_DOCKERHUB_TAG localhost:5000/openstu
docker push localhost:5000/openstudio-rserve
docker tag mongo:$MONGO_VERSION localhost:5000/mongo:latest
docker push localhost:5000/mongo:latest
docker tag redis localhost:5000/redis
docker push localhost:5000/redis
docker tag redis:$REDIS_VERSION localhost:5000/redis:latest
docker push localhost:5000/redis:latest
docker service rm registry
docker swarm leave -f
sleep 1
Expand Down

1 comment on commit 63ddd60

@padmassun
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.