This repository provides a custom Apache Docker image based on the lightweight httpd:alpine image. It includes an automated configuration update script that ensures necessary Apache modules and settings are enabled.
- Lightweight Base Image: Built on the
httpd:alpine
image for a small footprint. - Automated Configuration: Enable essential modules such as proxy, SSL, rewrite and more.
-
Build the Image:
docker build -t docker-apache .
-
Run the Container:
docker run -d -p 80:80 -p 443:443 docker-apache
-
Set the
TZ
environment variable (for your desired timezone):TZ=Your_Desired_Timezone
- Logging: The Apache log directory is set to
/var/log/apache2
, which you may mount as a volume if needed.
This project is licensed under the MIT License.