/drupal-varnish

Varnish docker container image for Drupal

Primary LanguageSmarty

Varnish for Drupal Docker Container Image

Build Status Docker Pulls Docker Stars Docker Layers Wodby Slack

Docker Images

Supported tags and respective Dockerfile links:

For better reliability we additionally release images with stability tags (wodby/drupal-varnish:4.1-X.X.X) which correspond to git tags. We strongly recommend using images only with stability tags.

Environment Variables

See more at wodby/varnish

Variable Default Value Description
VARNISH_ALLOW_UNRESTRICTED_BAN
VARNISH_ALLOW_UNRESTRICTED_PURGE
VARNISH_ERRORS_TTL 10m
VARNISH_GRACE 6h
VARNISH_BACKEND_FIRST_BYTE_TIMEOUT 300s
VARNISH_BACKEND_CONNECT_TIMEOUT 5s
VARNISH_BACKEND_BETWEEN_BYTES_TIMEOUT 2s

VARNISH_EXCLUDE_URLS (backslashes must be escaped \\):

^(/update\\.php|/([a-z]{2}/)?admin|/([a-z]{2}/)?admin/.*|/([a-z]{2}/)?system/files/.*|/([a-z]{2}/)?flag/.*|.*/ajax/.*|.*/ahah/.*)$

VARNISH_STATIC_FILES:

pdf|asc|dat|txt|doc|xls|ppt|tgz|csv|png|gif|jpeg|jpg|ico|swf|css|js|svg

Complete Drupal stack

See Docker4Drupal