/drupal-varnish

Varnish docker container image for Drupal

Primary LanguageSmarty

Varnish for Drupal Docker Container Image

Build Status Docker Pulls Docker Stars Docker Layers

Docker Images

!!! For better reliability we release images with stability tags (wodby/drupal-varnish:4-X.X.X) which correspond to git tags. We STRONGLY RECOMMEND using images only with stability tags.

Overview:

Supported tags and respective Dockerfile links:

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

Orchestration actions

See wodby/varnish for all actions.

Complete Drupal stack

See Docker4Drupal