diff --git a/strato-run.sh b/strato-run.sh index e0fcbb5..f803003 100755 --- a/strato-run.sh +++ b/strato-run.sh @@ -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