Run your Nette-based web app on Azure Web App on Linux platform easily
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
docs
scripts
Dockerfile
LICENSE
README.md

README.md

Nette on Azure Web App On Linux

Docker image for Nette web app, running on Azure Web App on Linux platform

What is inside

  • nginx
  • PHP 7 (fpm)
  • supervisord

Instalation

As image and optional tag (eg 'image:tag') type:

vjirovsky/azure-webapp-nette-nginx

As startup Command type only:

-P

Azure portal - Azure Web App On Linux Docker container

Usage example

  1. your Nette web app should be in git repository
  2. set up Local git deployment in Azure Portal under Deployment options
  3. create your git credentials in Azure Portal under Deployment credentials

Azure portal - Azure Web App On Linux - git credentials

  1. get your git repository URL in Azure Portal under Overview -> Git clone url
  2. add this as git remote repository
  3. push to this repository
  4. enjoy

Debugging

Because Web apps on Linux are running on Microsoft's Project Kudu, you can use FTP connection or Kudu console (limited remote Bash console) to connect to your app.

Logs

Nginx generates two logs

  • access log - placed in /home/LogFiles/docker/nginx.access.log
  • error log - placed in /home/LogFiles/docker/nginx.error.log

Contribution

based on Docker image andreisusanu/docker-nginx-php7