Dockerized php-fpm service, build on top of official Debian images.
213
Dockerized php-fpm service, built on top of official Debian images with supervisor.
$docker pull thinegan/debian-php7
$docker run -d -p 9000:9000 --name testphp thinegan/php7:latest
# Docker compose, example of spinning 1 php-fpm containers with mounted volume from host.
services:
phpserver1:
image: thinegan/php7:latest
container_name: phpfpm1
hostname: phpserver1
build: .
# Exposed to host machines
ports:
- "9000"
volumes:
- /home/www/public_html/dev.crytera.com:/home/www/public_html/dev.crytera.com
- ./etc/php/php.ini:/usr/local/etc/php/conf.d/php.ini
If you run into any problems with this image, please check (and potentially file new) issues on the thinegan/debian-php7 repo, which is the source for this image.
Content type
Image
Digest
Size
201 MB
Last updated
over 8 years ago
docker pull thinegan/debian-php7