diff --git a/sk1/start-app.sh b/sk1/start-app.sh index 13fc1a8..899a3ca 100755 --- a/sk1/start-app.sh +++ b/sk1/start-app.sh @@ -15,4 +15,17 @@ echo "*Deploying web*" kubectl apply -f web-deployment.yaml echo "*Deploying configmap*" kubectl apply -f env-configmap.yaml -echo "*Done*" \ No newline at end of file +echo "*Done*" + +docker tag postgres:latest registermato.azurecr.io/postgres:latest +docker push registermato.azurecr.io/postgres:latest + +docker tag z2_nginx registermato.azurecr.io/z2_nginx +docker push registermato.azurecr.io/z2_nginx + +docker tag z2_web registermato.azurecr.io/z2_web +docker push registermato.azurecr.io/z2_web + +az container create --resource-group mrg --name mycontainer --image registermato.azurecr.io/z2_nginx:latest --dns-name-label mato-demo --ports 8080 +az container create --resource-group mrg --name mycontainer2 --image registermato.azurecr.io/z2_web:latest --dns-name-label mato-demo2 --ports 80 +az container create --resource-group mrg --name mycontainer3 --image registermato.azurecr.io/postgres:latest --dns-name-label mato-demo3 --ports 5432 \ No newline at end of file