Public Repository

Last pushed: 9 months ago
Short Description
A simple PHP-FPM install. Designed to be paired with NGINX container.
Full Description

What is this?

A simple container holding a PHP 7.0 install exposed via PHP-FPM. This container itself depends on an upstream Ubuntu container which itself is based on Phusion. This container is designed to work with a sister container running nginx.

The specific technologies contained with this container are:

  • Ubuntu 16.04
  • PHP 7.0
  • A variety of PHP Modules (including xdebug)
    • Debugging is configured to look for a remote server on 9501 of the HOST IP by default.
    • Composer PHP Package Manager
    • Phalcon 3.x
  • A series of PDF related tools to generate PDF docs from various sources
    • WKHTMLToPDF .12
    • poppler-utils
    • pdftk
    • Coherent PDF

To keep PHP up2date, Ondrej's PPA is used: https://launchpad.net/~ondrej/+archive/ubuntu/php

There is also a 5.6 version if that is more to your liking. Same image, different tag: gte451f/base-php:5.6

Sample Compose File

This container may be customized using built in Docker conventions.

web:
    image: gte451f/nginx
    volumes:
        - .:/var/www
        - ./docker/nginx/sites-available/default:/etc/nginx/sites-available/default
        - ./docker/nginx/fastcgi_params:/etc/nginx/fastcgi_params
        - ./docker/nginx/nginx.conf:/etc/nginx/nginx.conf
    ports:
        - "8080:80"
    links:
        - php

php:
  image: gte451f/php:7.0
  volumes:
        - .:/var/www
        - ./docker/php7/php.ini:/etc/php7/fpm/php.ini
        - ./docker/php7/php-fpm.conf:/etc/php7/fpm/php-fpm.conf
        - ./docker/php7/fpm/pool.d:/etc/php7/fpm/pool.d
Docker Pull Command
Owner
gte451f

Comments (0)