From 28dd00dd787f3cb840b8aa0657af33442dcdb717 Mon Sep 17 00:00:00 2001 From: mm154nm Date: Mon, 24 May 2021 22:01:34 +0200 Subject: [PATCH] start --- sk1/start-app.sh | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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