Sign inSign up

reconnix/nginx-php56

By reconnix

Updated almost 11 years ago

Image
1

326

reconnix/nginx-php56 repository overview

NGINX & PHP

A Docker build which runs a CentOS 7 container with NGINX and PHP 5.6 with The Zend Opcache.

  • RUN_COMPOSER = If yes then composer install will be run as the webserver user in /var/www/html/
  • PHP_POOL = The Pool name to use, the default is [www]
docker run -d -p 80 -v /home/containers/web:/var/www/html reconnix/nginx-php56
docker run -d -p 80 -v /home/containers/web:/var/www/html -e VIRTUAL_HOST=some.domain.com --link database:db reconnix/nginx-php56

Notes

This cotainer users a user called webserver, if you are mounting volumes please create a user on your host system using the following;

useradd webserver -u 666

Tag summary

Content type

Image

Digest

sha256:4879194d6

Size

243.6 MB

Last updated

almost 11 years ago

docker pull reconnix/nginx-php56