This docker image contains nginx, php-fpm , drush and composer. You can find it in Docker hub here https://hub.docker.com/r/appsvcorg/nginx-fpm/ It can run on both Azure Web App on Linux and your Docker engines's host.
This repository contains docker images that are used for App Service Linux. Some images may be maintained by our team and some maintained by contirbutors.
This docker image currently contains the following components:
WEBSITES_ENABLE_APP_SERVICE_STORAGE = trueIf the
WEBSITES_ENABLE_APP_SERVICE_STORAGEsetting is false, the /home/ directory will not be shared across scale instances, and files that are written there will not be persisted across restarts.
WEBSITES_ENABLE_APP_SERVICE_STORAGE = true| Name | Default Value |
|---|---|
| DATABASE_TYPE | local |
| DATABASE_USERNAME | some-string |
| DATABASE_PASSWORD | some-string |
| **Note: We create a database "azurelocaldb" when using local mysql . Hence use this name when setting up the app ** |
/usr/local/etc/php/conf.d, Update xdebug.ini as wish, don't modify the path of below line.
zend_extension=/usr/local/lib/php/extensions/no-debug-non-zts-20170718/xdebug.soxdebug.ini,# find gid of php-fpm
ps aux
# Kill master process of php-fpm
kill -INT <gid>
# start php-fpm again
php-fpm -D && chmod 777 /run/php/php7.0-fpm.sock
/usr/sbin/nginx -s reload
WEBSITES_ENABLE_APP_SERVICE_STORAGE = true since we need files to be persisted.If you have feedback please create an issue but do not send Pull requests to these images since any changes to the images needs to tested before it is pushed to production.
Content type
Image
Digest
Size
147.9 MB
Last updated
over 7 years ago
docker pull korby/azure-alpine