conf/.Be careful with the daemons !
Both nginx and php5-fpm need to be run in non-daemon mode by supervisord. As such, changes have been made in the config files; if you replace them by yours, be careful to add :
daemon off; in your nginx.confdaemonize = no; in your php-fpm.confdocker build -t bulgroz/nginxphp .This image exposes 3 volumes /etc/nginx/sites-enabled, /etc/nginx/sites-available and /home/www.
Run it with
docker run -d -p 127.0.0.1:80:80 -v /<path_to_the_repo>/sites-enabled:/etc/nginx/sites-enabled bulgroz/nginxphp
Content type
Image
Digest
sha256:ff77d48c9…
Size
117.6 MB
Last updated
about 11 years ago
docker pull g1eagle/docker_nginx