Skip to content

Laudanum/docker-apache-mvh

Repository files navigation

Apache Mass Virtual Host

Apache Mass Virtual Host for PHP and static HTML websites.

Features

  • Uses debian base image
  • Thin Container. Optionally uses linked MariaDB and SMTP containers for those services.
  • Mod PHP5 enabled
  • Both "www" and "naked" domains are served from files found at /srv/www/sitename
  • Mass virtual host. No additional configuration required to add additional domains. Just create the "sitename" directory and the contents will be automatically served.

Environment variables

SMTP Setting:

  • SMTP_PORT
  • SMTP_HOST

or --link your smtp container. msmtp is used for mail delivery. So PHP mail() function works without configuration changes.

Proxy helper:

  • BEHIND_PROXY - Default: False. Set to true to preload ProxyHelper_prepend.php which will register the remote IP and SSL status (when using compatible X- proxy headers).

Apache MPM Tuning:

  • MPM_START - Optional: Default '5'
  • MPM_MINSPARE - Optional: Default '5'
  • MPM_MAXSPARE - Optional: Default '10'
  • MPM_MAXWORKERS - Optional: Default '150'
  • MPM_MAXCONNECTIONS - Optional: Default '0'

Status

Production ready.

Releases

No releases published

Packages

No packages published

Languages

  • Shell 64.3%
  • Dockerfile 27.2%
  • Makefile 8.5%