Public | Automated Build

Last pushed: 3 years ago
Short Description
Customizable Varnish 4.0 standard installation for Docker with .vcl environment variable support
Full Description

Varnish 4.0 standard installation for Docker

Based on Baseimage-docker from phusion

Run with standard configuration on port 80

docker run -d -p 80:6081 smartive/varnish

Advanced configuration with custom varnish configuration folder and startup options:

docker run -d -v /path/to/varnish/conf/:/etc/varnish -v /path/to/varnish/default:/etc/default/varnish -p 80:6081 smartive/varnish

If you want to use environment variables within a .vcl create a file named default_backend.vcl.default within your configuration folder. This one will be precompiled to default_backend.vcl which you can then include from your default.vcl

Docker Pull Command
Source Repository