Skip to content

Latest commit

 

History

History
62 lines (33 loc) · 839 Bytes

README.md

File metadata and controls

62 lines (33 loc) · 839 Bytes

gquintard-varnish-docker

Dockerfile for the tstrohmeier/gquintard-varnish image

I use this image for local VCL development and testing.

@Dockerhub: https://hub.docker.com/r/tstrohmeier/gquintard-varnish/

Pull image

docker pull tstrohmeier/gquintard-varnish:latest

What is installed in this image?

  • varnish
  • hitch

What is installed in the dockerfile?

  • varnish
  • hitch: used to provide an endpoint with ssl
  • stunnel: used in clientmode for backend endpoints with ssl or more then one IP
  • socat: used for debugging the backend requests

Build

docker-compose build

Work with the image

Start the containers

docker-compose up

Stop the containers

docker-compose down

Reload VCL

docker-compose exec agent varnish_reload_vcl