Apache image with more modules and wildcard for vhost configuration.
2.3K
Dockerfile linkslatest (Dockerfile)Please refer to the official library on docker hub.
We use this image when we want apache with PHP-FPM mostly.
If you want Apache with mod PHP then you should use our dedicated images of PHP.
We enabled the HTTP2 modules. Don't forget that you have to secure your application before using the HTTP2 protocol.
You can copy all your virtualhosts in /usr/local/apache2/sites-enabled/:
COPY vhost.conf /usr/local/apache2/sites-enabled/
You can use this snippet in your own Dockerfile:
# Use www-data with correct UID
ARG USER_UID=1000
RUN usermod -u $USER_UID www-data
Then you can override the USER_UID via docker-compose or directly via --build-arg when you build the image using docker.
The whole team of Monsieur Biz maintains these images.
This Apache image is built by Github Actions when a change is made into the httpd/ directory.
Content type
Image
Digest
sha256:24f84656d…
Size
54.4 MB
Last updated
over 3 years ago
docker pull monsieurbiz/httpd