https://github.com/phase2/docker-varnish
Varnish 4 container with a confd template that outputs a nice Drupal-compatible VCL.
https://github.com/phase2/docker-varnish
centos docker-image outrigger varnish
Last synced: 29 days ago
JSON representation
Varnish 4 container with a confd template that outputs a nice Drupal-compatible VCL.
- Host: GitHub
- URL: https://github.com/phase2/docker-varnish
- Owner: phase2
- Created: 2017-02-17T23:54:39.000Z (over 8 years ago)
- Default Branch: 4.0
- Last Pushed: 2017-02-21T19:57:59.000Z (over 8 years ago)
- Last Synced: 2025-07-09T07:03:36.471Z (3 months ago)
- Topics: centos, docker-image, outrigger, varnish
- Language: Shell
- Size: 6.84 KB
- Stars: 2
- Watchers: 11
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Outrigger Varnish
> Varnish 4 container with a confd template that outputs a nice Drupal-compatible VCL
[](https://microbadger.com/images/outrigger/varnish "Get your own version badge on microbadger.com") [](https://microbadger.com/images/outrigger/varnish "Get your own image badge on microbadger.com")
This CentOS-based Varnish image has deep Drupal support and a number of
configurable options.For more documentation on how Outrigger images are constructed and how to work
with them, please [see the documentation](http://docs.outrigger.sh/en/latest/).## Features
### PURGE & PURGEALL
Support for HTTP request-based PURGING of cached data.
* PURGE is used to clear the specific URL.
* PURGEALL will wipe all content for the requested host.PURGE requests may come from the Varnish local host, or the docker0 bridge network.
### Cache Tag Invalidation
Uses Varnish bans to clear cache based on Drupal 8 Cache tags via
[Purge](https://www.drupal.org/project/purge) module.Applies the same access control as Purge uses.
## Environment Variables
Outrigger images use Environment Variables and [confd](https://github.com/kelseyhightower/confd)
to "templatize" a number of Docker environment configurations. These templates are
processed on startup with environment variables passed in via the docker run
command-line or via your docker-compose manifest file. Here are the "tunable"
configurations offered by this image.* `VARNISH_BACKEND_HOST`: [`www`] Hostname Varnish uses for its backend.
* `VARNISH_BACKEND_PORT`: [`80`] Port number for the Varnish backend.
* `VARNISH_LISTEN_ADDRESS`: [`0.0.0.0`] IP address on which Varnish listens for
requests to proxy.
* `VARNISH_LISTEN_PORT`: [`80`]: Port on which Varnish listens for requests to
proxy.
* `VARNISH_ADMIN_LISTEN_ADDRESS`: [`0.0.0.0`] Wide open access to Varnish control.
* `VARNISH_ADMIN_LISTEN_PORT`: [`6082`] Port at which to access Varnish admin.
* `VARNISH_STORAGE`: [`"malloc,64M"`] Further storage configuration.
* `VARNISH_EXTRA_OPTS`: [`""`] Miscellaneous catch-all options passed to Varnish
at container start. Empty by default.## Security Reports
Please email outrigger@phase2technology with security concerns.
## Maintainers
[](https://www.phase2technology.com)