Registry id and url for all in one install
This commit is contained in:
@@ -73,7 +73,7 @@ install_gateway() {
|
||||
if [[ $1 && $2 ]]; then
|
||||
bash scripts/update_gateway_details.sh $1 $2
|
||||
else
|
||||
bash scripts/update_gateway_details.sh registry
|
||||
bash scripts/update_gateway_details.sh http://registry:3030
|
||||
fi
|
||||
echo "${GREEN}................Installing Gateway service................${NC}"
|
||||
start_container $gateway_docker_compose_file gateway
|
||||
|
||||
@@ -90,6 +90,9 @@ if [[ $1 ]]; then
|
||||
registry_id=$(echo "$1" | sed 's/http:\/\///')
|
||||
fi
|
||||
fi
|
||||
if [[ $registry_id = "registry:3030" ]]; then
|
||||
registry_id="registry"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ $2 ]]; then
|
||||
|
||||
Reference in New Issue
Block a user