start
This commit is contained in:
parent
d8c2902a53
commit
28dd00dd78
@ -16,3 +16,16 @@ kubectl apply -f web-deployment.yaml
|
|||||||
echo "*Deploying configmap*"
|
echo "*Deploying configmap*"
|
||||||
kubectl apply -f env-configmap.yaml
|
kubectl apply -f env-configmap.yaml
|
||||||
echo "*Done*"
|
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
|
Loading…
Reference in New Issue
Block a user