Varnish Cache (alpine) in Docker
301
A Varnish docker container based on Alpine Linux.
VARNISH_BACKEND_ADDRESS - host/ip of your backend. Defaults to 192.168.1.65.VARNISH_BACKEND_PORT - TCP port of your backend. Defaults to 80.VARNISH_MEMORY - how much memory Varnish can use for caching. Defaults to 100M.Run with defaults:
docker run -ti --name=varnish-alpine thiagofigueiro/varnish-alpine-docker
Specify your backend configuration:
docker run -e VARNISH_BACKEND_ADDRESS=a.b.c.d -e VARNISH_BACKEND_PORT=nn -ti --name=varnish-alpine thiagofigueiro/varnish-alpine-docker
Build image locally:
git clone [email protected]:thiagofigueiro/varnish-alpine-docker.git
cd varnish-alpine-docker
docker build -t varnish-alpine-docker .
Content type
Image
Digest
Size
39 MB
Last updated
almost 9 years ago
docker pull senorsen/varnish-alpine