2015-09-05 20:37:34 -07:00
|
|
|
docker-varnish
|
|
|
|
==============
|
|
|
|
|
2016-10-25 21:44:32 -07:00
|
|
|
Container for running [Varnish Cache](https://www.varnish-cache.org/).
|
2015-09-05 20:37:34 -07:00
|
|
|
|
|
|
|
*Usage:*
|
|
|
|
|
|
|
|
* Build: `docker build -t varnish .`
|
|
|
|
* Run: `docker run -d -v /my/test.vcl:/etc/varnish/default.vcl -p 80:80 varnish`
|
|
|
|
|
|
|
|
*Advanced*
|
|
|
|
|
2016-10-25 22:51:42 -07:00
|
|
|
* Set memory size: `-e MEMSIZE=64M`
|
|
|
|
* Set a secret: `-e SECRET=00000000-0000-0000-0000-000000000000`
|
2015-09-05 20:37:34 -07:00
|
|
|
* Expose control terminal: `-p 1234:6082`
|
|
|
|
|
|
|
|
*Extras*
|
|
|
|
|
|
|
|
* test.vcl - example default.vcl file
|