Base image used by other knot images to provide web services.
2.7K
A Caddy web server image built from source with xcaddy, bundling a set of useful modules. It is primarily a build-time dependency for the knot-php image (which copies the Caddy binary into its own image), but it also works as a standalone reverse proxy / web server. Part of the knot base images.
The binary is cross-compiled for both linux/amd64 and linux/arm64 during a single build, then the correct one is selected for the target platform.
All tags are multi-arch (linux/amd64, linux/arm64); see Docker Hub for the current list.
Each release is also tagged <version>-<BUILD_DATE>.
In addition to Caddy's standard modules, the binary is built with:
caddy-dns/cloudflare — Cloudflare DNS-01 challenge for automatic HTTPS.pteich/caddy-tlsconsul — store TLS certificates in Consul.caddyserver/transform-encoder — transform log entries.docker run -d \
-p 80:80 -p 443:443 -p 443:443/udp -p 2019:2019 \
-v caddy_config:/config -v caddy_data:/data \
paularlott/knot-caddy:2.11.4
Mount your own Caddyfile at /etc/caddy/Caddyfile to configure sites. The default command runs Caddy with the bundled base config:
CMD ["caddy", "run", "--config", "/etc/caddy/Caddyfile", "--adapter", "caddyfile"]
| Port | Protocol | Purpose |
|---|---|---|
80 | TCP | HTTP |
443 | TCP | HTTPS |
443 | UDP | HTTP/3 |
2019 | TCP | Caddy admin API |
/config — Caddy configuration state (XDG_CONFIG_HOME)./data — Caddy data/certificates (XDG_DATA_HOME).| Variable | Default | Description |
|---|---|---|
XDG_CONFIG_HOME | /config | Where Caddy stores its config |
XDG_DATA_HOME | /data | Where Caddy stores data / certs |
Caddy is Apache 2.0. This image's packaging (Dockerfile and config) is Apache License 2.0.
Source: paularlott/knot-base-images.
Content type
Image
Digest
sha256:a8349878b…
Size
33.2 MB
Last updated
about 1 year ago
docker pull paularlott/knot-caddy