Varnish in a docker container
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
dave 0ce2dbde09 Delete original secret 3 years ago
Dockerfile Delete original secret 3 years ago
README.md Delete fewer things 4 years ago
start Delete fewer things 4 years ago
test.vcl Initial commit 5 years ago

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