inventis/php
Build upon official php-fpm images.
Make your changes in the templates and than run ./update.sh for generating all the variations.
Below you can find an example config for the docker compose configuration
php:
image: inventis/php:7.3[-alpine]
working_dir: /var/www/app
links:
- mysql
volumes_from:
- app # should have the project mounted as /var/www/app
environment:
XDEBUG: 'on'
By default Xdebug is disabled but if you want to enable it you set the environment variable XDEBUG: 'on'.
docker pull inventis/php