diff --git a/README.md b/README.md index 3df8b44..0e0613d 100644 --- a/README.md +++ b/README.md @@ -3,19 +3,19 @@ # Docker deployment instructions -`docker run -it -P digsandpaper:digsandpaper` +`docker run -it -P uscisii2:digsandpaper` * If you want to provide a custom config file, you can volume mount the config directory -`docker run -it -v config:/etc/sandpaper/config -P digsandpaper:digsandpaper` +`docker run -it -v config:/etc/sandpaper/config -P uscisii2:digsandpaper` * By default digsandpaper will use the file at /etc/sandpaper/config/sandpaper.json. If you need to point to a different config in the mounted volume, create a config directory and put your config in there, and then use the following command -`docker run -it -v config:/etc/sandpaper/config -P digsandpaper:digsandpaper bin/start.sh --config config/your-custom-config.json --host 0.0.0.0` +`docker run -it -v config:/etc/sandpaper/config -P uscisii2:digsandpaper bin/start.sh --config config/your-custom-config.json --host 0.0.0.0` * Docker will expose a port that you should be able to query -`docker run -d -p 9876:9876 digsandpaper:digsandpaper` +`docker run -d -p 9876:9876 uscisii2:digsandpaper` `curl -XGET localhost:9876` # Development instructions diff --git a/docker-compose.yml b/docker-compose.yml index e076128..f28bbf8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ version: '3' services: sandpaper: - image: "digsandpaper/digsandpaper" + image: "uscisii2/digsandpaper" ports: - "9876:9876" volumes: diff --git a/docker_deploy.sh b/docker_deploy.sh index 418cfc0..46892a6 100755 --- a/docker_deploy.sh +++ b/docker_deploy.sh @@ -1,6 +1,6 @@ #!/bin/bash docker login -u $DOCKER_USER -p $DOCKER_PASS -export REPO=digsandpaper/digsandpaper +export REPO=uscisii2/digsandpaper export TAG=`if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo $TRAVIS_BRANCH ; fi` export DOCKERFILE_EXT=`if [ "$TRAVIS_BRANCH" == "master" ]; then echo ".development"; else echo "" ; fi` docker build -f Dockerfile${DOCKERFILE_EXT} -t $REPO:$TRAVIS_COMMIT .