Skip to content

favish/varnish-docker-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Varnish Docker Image

Container runs varnish with a prometheus exporter for metrication and will provide varnishcsa as it's containers log output for ingestion into your cluster log viewer.

Notes

This varnish image differs from stock in a few key ways:

  • Supports prometheus exporter
  • Configured to allow large headers to enable Surrogate cache tags to be easily cleared:
    -p http_resp_hdr_len=16k
    

Use

You usually want to mount VCL configuration into /etc/varnish to use:

volumeMounts:
          - name: "config"
            mountPath: "/etc/varnish/default.vcl"
            subPath: "default.vcl"

Dockerfile on GitHub

Changelog

[3.0.1] - 2025-06-26

  • Upgrade to Varnish 7.7
  • Upgrade base image to Rocky Linux 9 for improved security, stability, and long-term support.

[2.0.0] - 2023-09-25

  • Include additional VMODs so that we can hash the request body of POST requests.
  • Upgrade to Varnish 7.3

History

This repo was previously included in a mono repo and the last published tag with that repo was varnish-6_alpine_1.2.1. The CircleCI build process now publishes to a new image on Dockerhub.

About

Favish Varnish docker image

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors