Note: This image is still in BETA, and is subject to change without notice.
This is our minimal customized Varnish image based on alpine:3.2.
It uses the s6-overlay as a process supervisor and for log rotation.
Supported tags and respective
Builds on the hence/base image to provide a minimally-sized, fully functional varnish server.
This image includes some configuration presets for various applications:
drupal7: Search api preset for drupal 7 site
- Others will be added in time
Use a preset by passing
-e VARNISH_CONFIG_PRESET=[name] to docker run.
In addition to that, you can provide your own default.vcl by mounting it at
Default supervised processes:
- s6-svscan (as PID 1)
- varnish-general-logs (log fifo)
- varnish-error-logs (log fifo)
Available varnish environment variables [defaults]
VARNISH_PORT  VARNISH_BACKEND_IP [172.17.42.1] VARNISH_BACKEND_PORT  VARNISH_STORAGE_AMOUNT [100m] VARNISH_SESS_TIMEOUT  VARNISH_CONSOLE_PORT  VARNISH_CONSOLE_SECRET [changeme] VARNISH_CONFIG_PRESET [default] VARNISH_FIRST_BYTE_TIMEOUT [60s] VARNISH_PROBE_URL [/] VARNISH_PROBE_TIMEOUT [2s] VARNISH_PROBE_INTERVAL [5s] VARNISH_PROBE_WINDOW  VARNISH_PROBE_THRESHOLD  VARNISH_RANCHER_HA [NULL]
Copyright (c) 2015 Therefore Interactive