Apache without PHP, on webdevops/base.
| Tag | Based on |
|---|---|
alpine |
webdevops/base:alpine (Alpine 3.11, Apache 2.4.51) |
Alpine 3.11 has had no security updates since November 2021, see Known issues.
services:
web:
image: webdevops/apache:alpine
ports:
- "8080:80"
environment:
WEB_DOCUMENT_ROOT: /app/public
volumes:
- ./:/appThe document root must exist: the image does not contain /app, and Apache does not start without it.
Ports: 80 (HTTP) and 443 (HTTPS). HTTPS uses a self-signed certificate for *.vm that ships with the image; it expired on 2025-05-01. To use your own certificate, see Configuration files. Started by default: apache.
Settings: Web server (WEB_PHP_SOCKET is empty, there is no PHP; an existing index.html takes precedence over WEB_DOCUMENT_INDEX), hooks in /opt/docker/bin/service.d/httpd.d, see Customization.