Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
Merge pull request #225 from jdeathe/centos-7-develop
Browse files Browse the repository at this point in the history
Release changes for 2.5.0
  • Loading branch information
jdeathe authored Oct 10, 2019
2 parents d8d56b1 + d9baf62 commit 508bd85
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 16 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@

Summary of release changes.

### 2.5.0 - 2019-10-10

- Updates Varnish to [6.3.0](https://github.com/varnishcache/varnish-cache/blob/varnish-6.3.0/doc/changes.rst).
- Updates image tags in docker-compose example configuration.

### 2.4.1 - 2019-10-08

- Deprecate Makefile target `logs-delayed`; replaced with `logsdef`.
Expand Down
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
FROM jdeathe/centos-ssh:2.6.1

ARG RELEASE_VERSION="2.4.1"
ARG RELEASE_VERSION="2.5.0"

# ------------------------------------------------------------------------------
# Base install of required packages
# ------------------------------------------------------------------------------
RUN { printf -- \
'[%s]\nname=%s\nbaseurl=%s\nrepo_gpgcheck=%s\ngpgcheck=%s\nenabled=%s\ngpgkey=%s\nsslverify=%s\nsslcacert=%s\nmetadata_expire=%s\n' \
'varnishcache_varnish62' \
'varnishcache_varnish62' \
'https://packagecloud.io/varnishcache/varnish62/el/7/$basearch' \
'varnishcache_varnish63' \
'varnishcache_varnish63' \
'https://packagecloud.io/varnishcache/varnish63/el/7/$basearch' \
'1' \
'0' \
'1' \
'https://packagecloud.io/varnishcache/varnish62/gpgkey' \
'https://packagecloud.io/varnishcache/varnish63/gpgkey' \
'1' \
'/etc/pki/tls/certs/ca-bundle.crt' \
'300'; \
Expand All @@ -22,7 +22,7 @@ RUN { printf -- \
--setopt=tsflags=nodocs \
--disableplugin=fastestmirror \
gcc-4.8.5-39.el7 \
varnish-6.2.1-1.el7 \
varnish-6.3.0-1.el7 \
&& yum versionlock add \
varnish \
gcc \
Expand Down Expand Up @@ -106,7 +106,7 @@ jdeathe/centos-ssh-varnish:${RELEASE_VERSION} \
org.deathe.license="MIT" \
org.deathe.vendor="jdeathe" \
org.deathe.url="https://github.com/jdeathe/centos-ssh-varnish" \
org.deathe.description="Varnish Cache 6.2 - CentOS-7 7.6.1810 x86_64."
org.deathe.description="Varnish Cache 6.3 - CentOS-7 7.6.1810 x86_64."

HEALTHCHECK \
--interval=1s \
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### Tags and respective `Dockerfile` links

- [`2.4.1`](https://github.com/jdeathe/centos-ssh-varnish/releases/tag/2.4.1), `centos-7` [(centos-7/Dockerfile)](https://github.com/jdeathe/centos-ssh-varnish/blob/centos-7/Dockerfile)
- [`2.5.0`](https://github.com/jdeathe/centos-ssh-varnish/releases/tag/2.5.0), `centos-7` [(centos-7/Dockerfile)](https://github.com/jdeathe/centos-ssh-varnish/blob/centos-7/Dockerfile)
- [`1.7.1`](https://github.com/jdeathe/centos-ssh-varnish/releases/tag/1.7.1), `centos-6` [(centos-6/Dockerfile)](https://github.com/jdeathe/centos-ssh-varnish/blob/centos-6/Dockerfile)

## Overview
Expand All @@ -9,7 +9,7 @@ This build uses the base image [jdeathe/centos-ssh](https://github.com/jdeathe/c

### Image variants

- [Varnish Cache 6.2 - CentOS-7](https://github.com/jdeathe/centos-ssh-varnish/blob/centos-7)
- [Varnish Cache 6.3 - CentOS-7](https://github.com/jdeathe/centos-ssh-varnish/blob/centos-7)
- [Varnish Cache 4.1 - CentOS-6](https://github.com/jdeathe/centos-ssh-varnish/blob/centos-6)

## Quick start
Expand All @@ -26,7 +26,7 @@ $ docker run -d -t \
-p 80:80 \
--sysctl "net.core.somaxconn=1024" \
--add-host httpd_1:172.17.8.101 \
jdeathe/centos-ssh-varnish:2.4.1
jdeathe/centos-ssh-varnish:2.5.0
```

Verify the named container's process status and health.
Expand Down Expand Up @@ -73,12 +73,12 @@ $ docker stop varnish.1 && \
--env "VARNISH_MAX_THREADS=2000" \
--env "VARNISH_MIN_THREADS=100" \
--add-host httpd_1:172.17.8.101 \
jdeathe/centos-ssh-varnish:2.4.1
jdeathe/centos-ssh-varnish:2.5.0
```

#### Environment variables

There are several environmental variables defined at runtime which allows the operator to customise the running container. This may become necessary under special circumstances and the following show those that are most likely to be considered for review, the rest should be left unaltered and for clarification refer to the [varnishd documentation](https://www.varnish-cache.org/docs/6.0/index.html).
There are several environmental variables defined at runtime which allows the operator to customise the running container. This may become necessary under special circumstances and the following show those that are most likely to be considered for review, the rest should be left unaltered and for clarification refer to the [varnishd documentation](https://www.varnish-cache.org/docs/6.3/index.html).

##### ENABLE_VARNISHD_WRAPPER

Expand All @@ -98,15 +98,15 @@ Use `VARNISH_OPTIONS` to set other `varnishd` options.

##### VARNISH_STORAGE

Use `VARNISH_STORAGE` to specify the storage backend. See the [varnishd documentation](https://varnish-cache.org/docs/6.0/reference/varnishd.html#storage-backend) for the types and parameters available. The default is a file type backend but it is recommended to use malloc if there is enough RAM available.
Use `VARNISH_STORAGE` to specify the storage backend. See the [varnishd documentation](https://varnish-cache.org/docs/6.3/reference/varnishd.html#storage-backend) for the types and parameters available. The default is a file type backend but it is recommended to use malloc if there is enough RAM available.

##### VARNISH_TTL

The `VARNISH_TTL` can be used to set a hard minimum time to live for cached documents. The default is 120 seconds.

##### VARNISH_VARNISHNCSA_FORMAT

When `ENABLE_VARNISHNCSA_WRAPPER` is set to `true` then `VARNISH_VARNISHNCSA_FORMAT` can be used to set the output log [format string](https://varnish-cache.org/docs/6.0/reference/varnishncsa.html#format).
When `ENABLE_VARNISHNCSA_WRAPPER` is set to `true` then `VARNISH_VARNISHNCSA_FORMAT` can be used to set the output log [format string](https://varnish-cache.org/docs/6.3/reference/varnishncsa.html#format).

##### VARNISH_VARNISHNCSA_OPTIONS

Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ services:
PHP_OPTIONS_SESSION_SAVE_HANDLER: "redis"
PHP_OPTIONS_SESSION_SAVE_PATH: "redis:6379"
SYSTEM_TIMEZONE: "${SYSTEM_TIMEZONE}"
image: "jdeathe/centos-ssh-apache-php:3.3.2"
image: "jdeathe/centos-ssh-apache-php:3.3.3"
networks:
tier2:
aliases:
Expand All @@ -96,7 +96,7 @@ services:
REDIS_MAXMEMORY: "32mb"
REDIS_TCP_BACKLOG: "1024"
SYSTEM_TIMEZONE: "${SYSTEM_TIMEZONE}"
image: "jdeathe/centos-ssh-redis:3.1.0"
image: "jdeathe/centos-ssh-redis:4.1.1"
networks:
- "tier2"
ports:
Expand Down

0 comments on commit 508bd85

Please sign in to comment.