We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
start-elastic.sh
#!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # VERSION=docker.elastic.co/elasticsearch/elasticsearch:5.5.0 VERSION=elasticsearch:2 docker run --detach \ --restart always \ --name elasticsearch \ --network apps-bridge \ --publish 9200:9200 \ --volume $DIR/elastic:/usr/share/elasticsearch/data \ --volume $DIR/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml \ $VERSION
start-mongo.sh
#!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" docker run --detach \ --restart always \ --name mongodb \ --network=apps-bridge \ --publish 27017:27017 \ --volume $DIR/mongo:/data/db \ mongo:latest
start-web.sh
#!/bin/bash if [ -z "$TAG" ]; then echo 'TAG is required.' exit 1 fi repo="openskope/web-app" container_name="skope-webapp" host_port=63830 #root_url="http://141.142.170.245:$host_port" root_url="http://skope-dev.roger.ncsa.illinois.edu/app" docker pull $repo:$TAG docker rm -f $container_name docker run --detach \ --restart always \ --name $container_name \ --network=apps-bridge \ --env METEOR_SETTINGS="$(<~/meteor-app.json)" \ --env MONGO_URL="mongodb://mongodb/$container_name" \ --env PORT=3000 \ --publish $host_port:3000 \ --env ROOT_URL="$root_url" \ $repo:$TAG