Recently, I have been spending a lot of time doing deployments and performing migrations to Azure Web App for Containers. Following are some of the gotchas which I have found after a lot of search and I hope are helpful to you as well.
- Local Git deployment to KUDU SCM GIT Url always needs to point to
In other words, when you have setup a local git repository as your
Deployment Source, always ensure that you push to the master branch in the remote. For example
git push azure <local_branch_name>:master where
master is the remote Azure Git Branch.
Always set the =WEBSITES_ENABLE_APP_SERVICE_STORAGE= and set it to
truein App Settings.
During the Build/Release process for deploying from
Local Gitas a deployment option use
git config http.postBuffer 524288000. This helps out a lot in projects with large number of repository files and considerably speeds up the process.
Kudu Deployment script utilizes the App Settings as it is. You don't need to prepend
APPSETTING_to access them.
I will keep updating this document as I find more so stay tuned!