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