A simple and slim apache/php docker image using Alpine Linux 3.13
Specify the web app root to a folder inside your website code, for example: public/.
Specify the user id which apache will use to execute its child processes, useful for development mode.
Controls 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:
| Value | Behavior |
|---|---|
| all | Redirect access and error logs to STDOUT and STDERR respectively |
| access | Redirect access logs to STDOUT, error logs are kept inside the container |
| error | Redirect error logs to STDERR, access logs are kept inside the container |
| none or empty or any other value | Don't redirect any log, logs are kept inside the container |
Content type
Image
Digest
Size
19.7 MB
Last updated
over 5 years ago
docker pull drewisdorner/php-apache-alpine