Create a simple nginx container with php 5.6
216
Please rely on the original project from where we forked this. Specially if you need stable builds/containers.
All services are defined and managed using the phusion/baseimage methodology. Logs are output using syslog and can be accessed using docker logs {container}.
The container sets up a www root folder in the following location:
/var/www/public
As a final task a demo index.php is copied to this location.
The following folder is specified as the default root web folder:
/var/www/public
Note that the /var/www/public is the root folder for serving PHP files for your web server. The following ports are exposed:
The image generates a self-signed certificate for each container within the folder:
/etc/nginx/certs.d/
During build the build/default file is used to copy and configure nginx default settings. This includes a cipher suite for legacy browser (IE8+) support. See: https://cipherli.st/
Contains nginx config files as well as php-fpm settings. Also include setup.sh file that offloads tasks from the Dockerfile to reduce layers.
Note that PHP-FPM has been configured to pass through environment variables when starting the container using the clear_env = no flag within the /etc/php5/fpm/pool.d/www.conf file.
Content type
Image
Digest
Size
170.7 MB
Last updated
about 7 years ago
docker pull smoothsystemssolutions/nginxphp56