Canonical source repository for the Apache container image published as ghcr.io/justgetschwifty/apache.
This repository contains the Docker build sources for the Apache image published as ghcr.io/justgetschwifty/apache and provides a minimal, runnable example.
There is a minimal runnable example in examples/minimal/ that starts Apache and PHP-FPM with conservative defaults and exposes HTTP on http://localhost:8080.
- Image:
ghcr.io/justgetschwifty/apache - Primary tag:
latest - Platforms:
linux/amd64,linux/arm64 - Role: front-end web server for a Docker stack
The image is designed to provide a clean Apache runtime that works well as a modern HTTP entrypoint in front of PHP-FPM services.
That gives a few practical benefits:
- a single, repeatable Apache runtime for local development and server deployments
- predictable module enablement instead of ad-hoc host configuration
- good compatibility with reverse proxy and PHP-FPM based workloads
- one multi-architecture image that works on common x86_64 servers and Apple Silicon machines
The current image is built from debian:13-slim and installs a focused Apache runtime with a small set of supporting packages.
Included packages:
apache2ca-certificatescurl
Enabled Apache modules:
mpm_eventproxyproxy_fcgisetenvifrewriteheadersexpiresfilterdeflatebrotliremoteipstatushttp2unique_id
Default changes made during image build:
mpm_preforkis disabledother-vhosts-access-logis disabled/var/www/websitesis created for site content/var/log/websitesis created for site logs- both directories are owned by
www-data
This image is useful when you want Apache to behave as a stable, documented part of your application stack instead of an opaque machine-specific dependency.
It is a good fit because it gives you:
- consistent behavior between developer machines and deployed environments
- HTTP/2, compression, rewrite handling, and reverse proxy features already enabled
- a clear contract for PHP-FPM fronting through
proxy_fcgi - a documented GHCR package with a real source repository behind it
Use this image when you need:
- Apache as the public web server in front of PHP-FPM containers
- a reusable web runtime for a Docker stack
- a multi-architecture image that runs on both server-grade x86_64 systems and Apple Silicon hosts
- a documented package page in GHCR instead of an unlabeled internal image
docker pull ghcr.io/justgetschwifty/apache:latestThis repository is the canonical source for the Dockerfile used to build the published Apache image.
The image is feature-rich, but it is still designed to stay reasonably small. The default example configuration is conservative and targets servers with limited RAM and CPU.