Varnish in a docker container
Go to file
dave 9067c90e29 Delete fewer things 2016-10-25 22:51:42 -07:00
Dockerfile Delete fewer things 2016-10-25 22:51:42 -07:00
README.md Delete fewer things 2016-10-25 22:51:42 -07:00
start Delete fewer things 2016-10-25 22:51:42 -07:00
test.vcl Initial commit 2015-09-05 20:37:34 -07:00

README.md

docker-varnish

Container for running Varnish Cache.

Usage:

  • Build: docker build -t varnish .
  • Run: docker run -d -v /my/test.vcl:/etc/varnish/default.vcl -p 80:80 varnish

Advanced

  • Set memory size: -e MEMSIZE=64M
  • Set a secret: -e SECRET=00000000-0000-0000-0000-000000000000
  • Expose control terminal: -p 1234:6082

Extras

  • test.vcl - example default.vcl file