inventis/php

By inventis

Updated 7 days ago

PHP container with optional Xdebug

Image
0

100K+

Inventis PHP docker images

Build upon official php-fpm images.

Variants

  • stretch
  • alpine

Making updates

Make your changes in the templates and than run ./update.sh for generating all the variations.

Docker Compose

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'
Xdebug

By default Xdebug is disabled but if you want to enable it you set the environment variable XDEBUG: 'on'.

Docker Pull Command

docker pull inventis/php