Public | Automated Build

Last pushed: 2 years ago
Short Description
Varnish Docker images for Drupal
Full Description

Varnish Docker images for Drupal

Varnish 3 (same as on Acquia Cloud).
BigPipe support.

Environmental variables

  • VARNISH_PORT - port Varnish binds to, default: 80
  • VARNISH_BACKEND_HOST - must set this to the web container IP/hostname
  • VARNISH_BACKEND_PORT - web container port, default: 80
  • VARNISH_CACHE_SIZE - cache size, default: 64M
  • VARNISH_VARNISHD_PARAMS - extra parameters for varnishd
  • VARNISH_VARNISHLOG_PARAMS - parameters for varnishlog, default: -c -m TxStatus:^50 (Log failing (client side) requests)

VCL

The default VCL is based on:

https://fourkitchens.atlassian.net/wiki/display/TECH/Configure+Varnish+3+for+Drupal+7

To provide a custom vcl config mount it at /opt/default.vcl.

Features

The following feature were added on top of the Fourkitchens config:

  • BigPipe support

License

The MIT License (MIT)

Copyright (c) 2016 blinkreaction

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Docker Pull Command
Owner
blinkreaction

Comments (0)