Skip to content
dockettePublic

About

🐳 Varnish cache

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

2 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

Repository files navigation

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

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.

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.

About

🐳 Varnish cache

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

2 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages