A minimal Varnish image build on Alpine linux
2.8K
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.
Dockerfile linkslatest varnish/DockerfileBuilds 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 siteUse 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 $HENCE_APP_VOL_PREFIX/conf
VARNISH_PORT [80]
VARNISH_BACKEND_IP [172.17.42.1]
VARNISH_BACKEND_PORT [80]
VARNISH_STORAGE_AMOUNT [100m]
VARNISH_SESS_TIMEOUT [20]
VARNISH_CONSOLE_PORT [2000]
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 [8]
VARNISH_PROBE_THRESHOLD [3]
VARNISH_RANCHER_HA [NULL]
MIT
Copyright (c) 2015 Therefore Interactive
Content type
Image
Digest
sha256:e5956cbba…
Size
42.8 MB
Last updated
over 10 years ago
docker pull hence/varnish