Sign inSign up

dockette/varnish

Sponsored OSS

By dockette

•Updated 6 days ago

🐳 Varnish cache

Image
Security
Web servers
Monitoring & observability
1

8.8K

dockette/varnish repository overview

⁠Dockette / Varnish

GitHub Actions Docker Hub pulls GitHub Sponsors Support/Discussions

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.

⁠Features

  • Varnish on dockette/debian:trixie, listening on port 80
  • Bundled default.vcl that expects the backend application as app:80
  • The entrypoint starts varnishd with the bundled VCL and then follows varnishlog
  • No modern healthcheck, init wrapper or generated runtime configuration

⁠Usage

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:latest

⁠Configuration

Defaults of the legacy image:

  • VARNISH_SECRET=/etc/varnish/secret
  • VARNISH_CONFIG=/etc/varnish/default.vcl
  • VARNISH_CACHE=256m
  • VARNISH_PORT=80

⁠Versions

VersionRelease
dockette/varnish:YYYY.MM.DDrelease YYYY.MM.DD
dockette/varnish:latestlatest build of master

All versions build on dockette/debian:trixie. Releases are listed on GitHub⁠.

⁠Development

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 VERSION

⁠Maintenance

See how to contribute⁠ to this package. Consider to support⁠ f3l1x. Thank you for using this package.

Tag summary

Content type

Image

Digest

sha256:cfccedcb6…

Size

138.9 MB

Last updated

6 days ago

docker pull dockette/varnish

This week's pulls

Pulls:

100

Oct 19 to Oct 25