A simple PHP-FPM install. Designed to be paired with NGINX container.
625
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:
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
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
Content type
Image
Digest
Size
418.2 MB
Last updated
over 7 years ago
docker pull gte451f/php:7.2