VARNISH_HTTP_PORT - varnish portVARNISH_HTTPS_PORT - varnish ssl portVARNISH_SIZE - varnish cache sizeAUTOKILL_CRON - Varnish re-create crontab, will force a recreation of the container. Uses UTC time, format is linux crontab - for example - 0 2 * * * is 02:00 UTC each day"VARNISH_CFG_CONTENT - Multiline variable that will be written in the default.vcl fileVARNISH_BACKEND - hostname / rancher service nameVARNISH_BACKEND_PORT - service internal portVARNISH_DNS_TTL - how often will varnish check the IP of the hostname/rancher serviceVARNISH_BERESP_TTL, VARNISH_BERESP_GRACE, VARNISH_BERESP_KEEP - Object timeline configuration https://docs.varnish-software.com/tutorials/object-lifetime/VARNISH_STATIC_TTL - TTL for /static/ filesVARNISH_GZIP_ENABLED - default false, enable gzip on content types text/ and javascriptVARNISH_GZIP_JSON_ENABLED - default false, enable gzip on content types jsonVARNISH_CLEAR_OTHER_COOKIES - default true, clean up other cookies besides whitelisted onesChoose relevant variable name, starting with VARNISH_ - eg. VARNISH_EXAMPLE
Add default value in Dockerfile
ENV VARNISH_EXAMPLE="GET"
Add variable in <> in varnish.vcl
set req.http.X-Varnish-Routed = "<VARNISH_EXAMPLE>";
Add description in Readme.md
docker pull eeacms/plone-varnish:latest