Legacy Docker image for Varnish Cache with the bundled default.vcl and entrypoint used by older Dockette stacks.
Legacy Varnish Cache image with the bundled default.vcl and the entrypoint used by older
Dockette stacks. It keeps the historical behavior on purpose.
- Varnish on
dockette/debian:trixie, listening on port80 - Bundled
default.vclthat expects the backend application asapp:80 - The entrypoint starts
varnishdwith the bundled VCL and then followsvarnishlog - No modern healthcheck, init wrapper or generated runtime configuration
docker run --rm -it -p 80:80 --link app:app dockette/varnish:latest# Custom VCL, when the default backend or caching rules do not fit your stack
docker run --rm -it -p 80:80 -v "$(pwd)/default.vcl:/etc/varnish/default.vcl:ro" dockette/varnish:latestDefaults of the legacy image:
VARNISH_SECRET=/etc/varnish/secretVARNISH_CONFIG=/etc/varnish/default.vclVARNISH_CACHE=256mVARNISH_PORT=80
| Version | Release |
|---|---|
dockette/varnish:YYYY.MM.DD |
release YYYY.MM.DD |
dockette/varnish:latest |
latest build of master |
All versions build on dockette/debian:trixie. Releases are listed on
GitHub.
make build # build linux/amd64 and linux/arm64
make test # check varnishd, entrypoint, bundled config and VCL compilation
make run # run on port 80 with a temporary nginx backend as app:80
make version # print VERSION
make release # set today's date in VERSIONSee how to contribute to this package. Consider to support f3l1x. Thank you for using this package.