Skip to content

Commit

Permalink
Merge pull request #13 from blockapps/domain_name
Browse files Browse the repository at this point in the history
added common DOMAIN_NAME in run script
  • Loading branch information
nikitamendelbaum authored Aug 10, 2017
2 parents 43656c6 + d6cb46c commit 4b589f7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions strato-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ fi

if grep -q "${registry}" ~/.docker/config.json
then
export NODE_NAME=${NODE_NAME:-localhost}
export BLOC_URL=${BLOC_URL:-http://localhost/bloc/v2.1}
export BLOC_DOC_URL=${BLOC_DOC_URL:-http://localhost/docs/?url=/bloc/v2.1/swagger.json}
export STRATO_URL=${STRATO_URL:-http://localhost/strato-api/eth/v1.2}
export STRATO_DOC_URL=${STRATO_DOC_URL:-http://localhost/docs/?url=/strato-api/eth/v1.2/swagger.json}
export CIRRUS_URL=${CIRRUS_URL:-http://localhost/cirrus/search}
export NODE_NAME=${DOMAIN_NAME:-localhost}
export BLOC_URL=http://${DOMAIN_NAME:-localhost}/bloc/v2.1
export BLOC_DOC_URL=http://${DOMAIN_NAME:-localhost}/docs/?url=/bloc/v2.1/swagger.json
export STRATO_URL=http://${DOMAIN_NAME:-localhost}/strato-api/eth/v1.2
export STRATO_DOC_URL=http://${DOMAIN_NAME:-localhost}/docs/?url=/strato-api/eth/v1.2/swagger.json
export CIRRUS_URL=http://${DOMAIN_NAME:-localhost}/cirrus/search
export cirrusurl=nginx/cirrus
export stratoHost=nginx
export ssl=false
Expand Down

0 comments on commit 4b589f7

Please sign in to comment.