Sign inSign up

outrigger/varnish

By outrigger

•Updated over 9 years ago

Varnish 4 container with a confd template that outputs a nice Drupal-compatible VCL.

Image
2

986

outrigger/varnish repository overview

⁠Outrigger Varnish

Varnish 4 container with a confd template that outputs a nice Drupal-compatible VCL

This CentOS-based Varnish image has deep Drupal support and a number of configurable options.

For more documentation on how Outrigger images are constructed and how to work with them, please see the documentation⁠.

⁠Features

⁠PURGE & PURGEALL

Support for HTTP request-based PURGING of cached data.

  • PURGE is used to clear the specific URL.
  • PURGEALL will wipe all content for the requested host.

PURGE requests may come from the Varnish local host, or the docker0 bridge network.

⁠Cache Tag Invalidation

Uses Varnish bans to clear cache based on Drupal 8 Cache tags via Purge⁠ module.

Applies the same access control as Purge uses.

⁠Environment Variables

Outrigger images use Environment Variables and confd⁠ to "templatize" a number of Docker environment configurations. These templates are processed on startup with environment variables passed in via the docker run command-line or via your docker-compose manifest file. Here are the "tunable" configurations offered by this image.

  • VARNISH_BACKEND_HOST: [www] Hostname Varnish uses for its backend.
  • VARNISH_BACKEND_PORT: [80] Port number for the Varnish backend.
  • VARNISH_LISTEN_ADDRESS: [0.0.0.0] IP address on which Varnish listens for requests to proxy.
  • VARNISH_LISTEN_PORT: [80]: Port on which Varnish listens for requests to proxy.
  • VARNISH_ADMIN_LISTEN_ADDRESS: [0.0.0.0] Wide open access to Varnish control.
  • VARNISH_ADMIN_LISTEN_PORT: [6082] Port at which to access Varnish admin.
  • VARNISH_STORAGE: ["malloc,64M"] Further storage configuration.
  • VARNISH_EXTRA_OPTS: [""] Miscellaneous catch-all options passed to Varnish at container start. Empty by default.

⁠Security Reports

Please email outrigger@phase2technology with security concerns.

⁠Maintainers

Phase2 Logo

Tag summary

Content type

Image

Digest

Size

149.6 MB

Last updated

over 9 years ago

docker pull outrigger/varnish:4.0