-
Notifications
You must be signed in to change notification settings - Fork 0
Deployment in azure virtual machine
For this deployment, we used an Azure virtual machine with the following especifications:
Once the machine was created, we connected to it in order to install docker:
Once we acceded to the machine, we updated the apt repositories from where the machine downloads the packages, libraries, programs.. also we installed docker and gave DEPLOY_USER permissions of execution of the file docker-compose.
Then , we came back to github and created the secrets that are referenced in our .yml
Then , the workflow was adapted to the architecture of or own app.
I access the ip / domain and it does not connect..
-
Check your docker file is accurate, and has the command ["npm","run","start"] (we had this line commented)!
-
HAVE YOU OPENED THE PORTS ON THE VIRTUAL MACHINE? :) Because ours werent open at first :)
I managed to host my app, but it seems like it does not log into inrupt? Even if my login data is correct..
This happens because inrupt works with HTTPS only. In order to have an https connection in your web , you'll need TLS/SSL certificates.
For that , we will create a key vault following the default steps:
after fullfilling the form , we obtain the following resource.
then , we go to certificates and we click on generating one.
once it was indeed created, it will be disabled. We need to enable it manually.
read the original tutorial by azure here