Sign inSign up

inhumantsar/www

By inhumantsar

•Updated almost 11 years ago

Image
0

953

inhumantsar/www repository overview

⁠inhumantsar/www

This is a basic CentOS7/Apache/PHP-FPM Docker image. It could be used on its own by mounting a host volume at /var/www but it's meant to be a model for more complex setups.

⁠To use

docker run -d -p 80:80 -v /path/to/site/files:/var/www -v /path/to/logs:/var/log inhumantsar/www

⁠Notable Changes

⁠Apache
  • "userdir" and "welcome" configurations are removed
  • worker mpm has been enabled, had problems with event. YMMV.
  • Set it up with mod_proxy_fcgi
⁠PHP-FPM
  • Upped log level to warning
  • Set daemonize to no (duh)
  • Set listen to 127.0.0.1:9000
  • Set user/group to apache
  • Enabled ping page (/ping)
⁠Supervisord
  • Disabled all supervisorctl bits and bobs including HTTP listeners.
  • Set to drop privs to user 'apache'
  • nodaemon is enabled (duh)
  • log, pid paths configured sanely: /var/log and /run/supervisord.pid

Tag summary

Content type

Image

Digest

sha256:d925155ec…

Size

189.5 MB

Last updated

almost 11 years ago

docker pull inhumantsar/www