All Projects → emgag → docker-varnish

emgag / docker-varnish

Licence: MIT License
Varnish docker image used within EMGAG environments

Programming Languages

Dockerfile
14818 projects
VCL
57 projects
shell
77523 projects

Projects that are alternatives of or similar to docker-varnish

libvmod-geoip2
A Varnish VMOD to query MaxMind GeoIP2 DB files
Stars: ✭ 37 (+48%)
Mutual labels:  varnish, vmod
libvmod-cfg
VMOD useful to access to contents of environment variables and local or remote files from VCL, usually for configuration purposes, including execution of Lua and JavaScript programs.
Stars: ✭ 20 (-20%)
Mutual labels:  varnish, vmod
libvmod-redis
VMOD using the synchronous hiredis library API to access Redis servers from VCL.
Stars: ✭ 76 (+204%)
Mutual labels:  varnish, vmod
docker-garby
Just another Docker maintenance script, managing garbage collection of Docker containers and images.
Stars: ✭ 36 (+44%)
Mutual labels:  container
docker-postgres-windows
No description or website provided.
Stars: ✭ 19 (-24%)
Mutual labels:  container
ecs-gen
docker-gen for AWS ECS
Stars: ✭ 46 (+84%)
Mutual labels:  container
docker-suricata
A Suricata Docker image.
Stars: ✭ 120 (+380%)
Mutual labels:  container
github-ci
An example GitHub Action (CI) to build a Singularity container
Stars: ✭ 46 (+84%)
Mutual labels:  container
varnishtraining
Second iteration of my Varnish training. This version is specifically created for the Symfony Live Berlin 2017 workshop I've presented.
Stars: ✭ 31 (+24%)
Mutual labels:  varnish
ultimate-kubernetes-bootcamp
Ultimate Kubernetes Bootcamp
Stars: ✭ 43 (+72%)
Mutual labels:  container
easy-container
A small PHP dependency injection container from Laravel Container, support PHP 5.3
Stars: ✭ 32 (+28%)
Mutual labels:  container
nordvpn
NordVpn Docker Client
Stars: ✭ 475 (+1800%)
Mutual labels:  container
dingo
Generated dependency injection containers in go (golang)
Stars: ✭ 75 (+200%)
Mutual labels:  container
render
A simple web service that renders a Blender 3D scene with custom text.
Stars: ✭ 27 (+8%)
Mutual labels:  container
varnish-cache-reaper
Simple python/twisted HTTP daemon forwarding PURGE and BAN requests to multiple varnish (or other proxy) instances
Stars: ✭ 12 (-52%)
Mutual labels:  varnish
nginx-container
Nginx high-performance HTTP server and reverse proxy container images based on Red Hat Software Collections and intended for OpenShift and general usage. Users can choose between Red Hat Enterprise Linux, Fedora, and CentOS based images.
Stars: ✭ 77 (+208%)
Mutual labels:  container
Huddy
Huddy = Hugo + Caddy docker container
Stars: ✭ 14 (-44%)
Mutual labels:  container
imagepullsecret-patcher
A simple Kubernetes client-go application that creates and patches imagePullSecrets to service accounts in all Kubernetes namespaces to allow cluster-wide authenticated access to private container registry.
Stars: ✭ 159 (+536%)
Mutual labels:  container
vcl-snippets
Snippets for Varnish Cache
Stars: ✭ 17 (-32%)
Mutual labels:  varnish
daspanel
Free, open-source, server agnostic, self-hosted web hosting control panel using Docker
Stars: ✭ 71 (+184%)
Mutual labels:  container

emgag/varnish

build MIT

Varnish container image used within EMGAG environments. Originally based on newsdev/docker-varnish (not available anymore), but updated to recent varnish versions (6.0, 6.6 and 7.0), shipped with some additional vmods, better support for custom configuration and built for multiple architectures.

Shipped VMODs:

Registries

Supported tags and respective Dockerfile links

Notes:

  • While the container images are built for Linux amd64 and arm64, only amd64 is tested and used in production, the others may or may not work.
  • This repository does not contain shorthand tags (e.g. latest, 6, 6.1, etc.), just fully qualified versions corresponding to shipped varnish version and occasionally an additional package version (e.g. 6.0.3-1) if something in the image changed within a varnish release. This is because it might happen that a specific vmod stopped being supported for whatever reason and removing it will break future releases, which is outside of our control (e.g. old releases contained libvmod-geoip, which isn't supported anymore).
  • Only 7.0, 6.6 and 6.0 are versions supported by varnish, maintained in this repo and available for download from github container registry and dockerhub.
  • The most recent of the unsupported legacy versions, 4.1.11, 5.0.0. 5.1.3 and 5.2.1 are available from dockerhub as well.
  • For docs and code for versions 4.x and 5.x see branch 4.1.

Varnish

From varnish-cache.org: Varnish Cache is a web application accelerator also known as a caching HTTP reverse proxy. You install it in front of any server that speaks HTTP and configure it to cache the contents. Varnish Cache is really, really fast. It typically speeds up delivery with a factor of 300 - 1000x, depending on your architecture.

How to use this image.

By default, varnish reads /etc/varnish/default.vcl on startup. Either copy your VCL file in your Dockerfile

FROM ghcr.io/emgag/varnish:7.0.2
COPY default.vcl /etc/varnish/default.vcl

or mount a volume containing the varnish configuration to /etc/varnish, e.g with a docker-compose file:

version: '3'
services:
  varnish:
    image: ghcr.io/emgag/varnish:7.0.2
    volumes:
      - ./varnish:/etc/varnish
    ports:
      - "80:80"

Following environment variables can be used to customize the behaviour of the container:

  • VARNISH_CONFIG (default: /etc/varnish/default.vcl): The VCL file read on startup.
  • VARNISH_DAEMON_OPTS: Additional command line arguments for varnishd.
  • VARNISH_LISTEN (default: :80): The TCP port to listen for incoming client connections. Make sure to also expose the new port if this value is modified.
  • VARNISH_MANAGEMENT_LISTEN (default: 127.0.0.1:6082): The TCP port to listen for management connections. See varnish documentation about management interface authentication to setup a PSK.
  • VARNISH_STORAGE (default: malloc,100m): The cache backend and its configuration

License

View license information for the software contained in this image.

Issues

If you have any problems with or questions about this image, please contact us through a GitHub issue.

Contributing

You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.

Before you start to code, we recommend discussing your plans through a GitHub issue, especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].