A Docker build which runs a CentOS 7 container with NGINX and PHP 5.4.
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-php54
docker run -d -p 80 -v /home/containers/web:/var/www/html -e VIRTUAL_HOST=some.domain.com --link database:db reconnix/nginx-php54
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
Content type
Image
Digest
sha256:c5fc616b6…
Size
166.5 MB
Last updated
almost 11 years ago
docker pull reconnix/nginx-php54