Is the "Startup File" option on the docker web app options for docker-compose
files? or shell commands? I cannot find any documentation for it...
Basically I'd like my Web App to run a docker-compose.yml
instead of executing docker run [options] when I push an image to it.
In the browser, navigate to https://<app_name>.scm.azurewebsites.net/ZipDeployUI . Upload the ZIP package you created in Create a project ZIP package by dragging it to the file explorer area on the web page.
The Docker Azure Integration enables developers to use native Docker commands to run applications in Azure Container Instances (ACI) when building cloud-native applications.
You can access it from within the App Service Editor under your app name -> Open Kudu Console or through the portal under Advanced Tools.
Not sure if this is still a problem but I just noticed it appends whatever you put in there to the default startup command.
2019-09-02 05:03:04.493 INFO - docker run -d -p 55721:80 --name xxxxxx -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=xxxxx -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=xxxxxx.azurewebsites.net -e WEBSITE_INSTANCE_ID=xxxxxxxxx -e HTTP_LOGGING_ENABLED=1 xxxxxx.azurecr.io/xxxxxxx:latest -p 80:4000 -p 443:8000
I put the -p 80:4000 -p 443:8000
into the textbox in the portal config
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With