Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

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
Docker Pull Command
Owner
reconnix
Source Repository

Comments (0)