Giter VIP home page Giter VIP logo

varnish-alpine-docker's Introduction

varnish-alpine-docker

Build Status Docker Stars Docker Pulls

A very small Varnish docker image based on Alpine Linux.

Environment variables

  • 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.

Quick start

Run with defaults:

docker run -Pit --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 \
           -e VARNISH_MEMORY=1G \
           -Pit --name=varnish-alpine thiagofigueiro/varnish-alpine-docker

Alternatively, specify a varnish config file

docker run -e VARNISH_CONFIG_FILE=/etc/varnish/default.vcl \
           -v /LOCAL/PATH/TO/default.vcl:/etc/varnish/default.vcl \
           -Pit --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 .

Software

Versions

The Docker image tag corresponds to the Alpine Linux version used. The Varnish version used is whatever Alpine have packaged.

Image tag Alpine Version Varnish version
latest 3.8.0 6.0.2-r0
3.8 3.8.0 6.0.2-r0
3.7 3.7.0 5.2.1-r0
3.6 3.6.0 4.1.9-r0
3.5 3.5.0 4.1.3-r0
3.4 3.4.6 4.1.2-r3
3.3 3.3.3 4.1.2-r1

Acknowledgements

varnish-alpine-docker's People

Contributors

thiagofigueiro avatar kylesloan avatar

Watchers

leo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.