Azure-Samples / docker-django-webapp-linux

A simple Python Django application running in a Docker container.
MIT License
54 stars 220 forks source link

Fix WEBSITES_PORT typo in readme.md #7

Closed claytonrothschild closed 4 years ago

claytonrothschild commented 6 years ago

The property name is WEBSITES_PORT as referenced by two articles that reference this repository and as confirmed by Kudu logs for my running App Service for Containers instance. The following shows the app settings that are indeed passed to containers. I made available both WEBSITES_PORT and WEBSITE_PORT and only WEBSITES_PORT was passed to Kudu:

2018-04-10 04:16:49.312 INFO - Logging is not enabled for this container. Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here. 2018-04-10 04:16:51.819 INFO - Starting container for site 2018-04-10 04:16:51.825 INFO - docker run -d -p 62966:8080 --name [xxx] -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e DOCKER_CUSTOM_IMAGE_NAME=[xxx] -e WEBSITES_PORT=8080 -e WEBSITE_SITE_NAME=[xxx] -e WEBSITE_AUTH_ENABLED=False -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_INSTANCE_ID=[xxx]