Varnish images for PHP and Drupal applications.
1.1K
There is a volume which can be used to load a the VCL's: docker-vcl-initdb.d. The VCL's will be copied upon
the creation of the container.
VARNISH_BACKEND_HOST: the backend host that Varnish should queryVARNISH_VARNISH_BACKEND_PORT_HOST: the backend port that Varnish should use to query the backendVARNISH_PORT: the port on which Varnish should runVARNISH_SECRET: the Varnish secretVARNISH_VCL: the VCL that Varnish should use to start the server. This VCL should be present in your volume.varnish:
image: cegeka/varnish
volumes:
- ./init/varnish:/docker-vcl-initdb.d
environment:
VARNISH_BACKEND_HOST: backend
VARNISH_BACKEND_PORT: 80
VARNISH_PORT: 80
VARNISH_SECRET: secret
VARNISH_VCL: local.vcl
Content type
Image
Digest
Size
124.7 MB
Last updated
about 9 years ago
docker pull cegeka/varnish