Sign inSign up

drewisdorner/php-apache-alpine

By drewisdorner

•Updated over 5 years ago

Image
0

205

drewisdorner/php-apache-alpine repository overview

⁠php-apache-alpine

A simple and slim apache/php docker image using Alpine Linux 3.13

⁠Usage

⁠Environment Variables
⁠WEBAPP_ROOT

Specify the web app root to a folder inside your website code, for example: public/.

⁠WEBAPP_USER_ID

Specify the user id which apache will use to execute its child processes, useful for development mode.

⁠LOG_CONF

Controls log files redirection.

⁠Log Files Redirection

Log files can now be redirected to STDOUT and STDERR if needed, can be customized to redirect only access logs or only error logs, both or none.

This can be done by setting the LOG_CONF environment variable, the supported values are:

ValueBehavior
allRedirect access and error logs to STDOUT and STDERR respectively
accessRedirect access logs to STDOUT, error logs are kept inside the container
errorRedirect error logs to STDERR, access logs are kept inside the container
none or empty or any other valueDon't redirect any log, logs are kept inside the container

Tag summary

Content type

Image

Digest

Size

19.7 MB

Last updated

over 5 years ago

docker pull drewisdorner/php-apache-alpine