Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ REDIS_MAXMEMORY_POLICY=allkeys-lru
REDIS_MAXMEMORY_SAMPLES=5
REDIS_OPTIONS=
REDIS_TCP_BACKLOG=1024
SYSTEM_TIMEZONE=UTC
27 changes: 24 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,31 @@
# Change Log

## centos-7
## 3 - centos-7

Summary of release changes for Version 3.
Summary of release changes.

CentOS-7 7.5.1804 x86_64 - EPEL Redis 3.2.
### 3.1.0 - 2019-06-29

- Updates source image to [2.6.0](https://github.com/jdeathe/centos-ssh/releases/tag/2.6.0).
- Updates CHANGELOG.md to simplify maintenance.
- Updates README.md to simplify contents and improve readability.
- Updates README-short.txt to apply to all image variants.
- Updates Dockerfile `org.deathe.description` metadata LABEL for consistency.
- Updates bootstrap and wrapper supervisord configuration to send error log output to stderr.
- Updates bootstrap timer to use UTC date timestamps.
- Updates bootstrap supervisord configuration file/priority to `20-redis-bootstrap.conf`/`20`.
- Updates wrapper supervisord configuration file/priority to `50-redis-wrapper.conf`/`50`.
- Fixes binary paths in systemd unit files; missing changes from last release.
- Fixes docker host connection status check in Makefile.
- Adds missing instruction step to docker-compose example configuration file.
- Adds `inspect`, `reload` and `top` Makefile targets.
- Adds improved `clean` Makefile target; includes exited containers and dangling images.
- Adds lock/state file to wrapper script.
- Adds `SYSTEM_TIMEZONE` handling to Makefile, scmi, systemd unit and docker-compose templates.
- Adds system time zone validation to healthcheck.
- Removes support for long image tags (i.e. centos-7-3.x.x).
- Removes `REDIS_AUTOSTART_REDIS_BOOTSTRAP`, replaced with `ENABLE_REDIS_BOOTSTRAP`.
- Removes `REDIS_AUTOSTART_REDIS_WRAPPER`, replaced with `ENABLE_REDIS_WRAPPER`.

### 3.0.0 - 2019-03-22

Expand Down
21 changes: 11 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM jdeathe/centos-ssh:2.5.1
FROM jdeathe/centos-ssh:2.6.0

ARG RELEASE_VERSION="3.0.0"
ARG RELEASE_VERSION="4.1.0"

# ------------------------------------------------------------------------------
# Base install of required packages
Expand Down Expand Up @@ -37,7 +37,7 @@ RUN sed -i -r \
-e "s~{{RELEASE_VERSION}}~${RELEASE_VERSION}~g" \
/etc/systemd/system/centos-ssh-redis@.service \
&& chmod 644 \
/etc/supervisord.d/redis-server-{bootstrap,wrapper}.conf \
/etc/supervisord.d/{20-redis-server-bootstrap,50-redis-server-wrapper}.conf \
&& chmod 700 \
/usr/{bin/healthcheck,sbin/redis-server-{bootstrap,wrapper}} \
&& chmod 750 \
Expand All @@ -50,16 +50,17 @@ EXPOSE 6379
# ------------------------------------------------------------------------------
# Set default environment variables
# ------------------------------------------------------------------------------
ENV REDIS_AUTOSTART_REDIS_BOOTSTRAP="true" \
REDIS_AUTOSTART_REDIS_WRAPPER="true" \
ENV \
ENABLE_REDIS_BOOTSTRAP="true" \
ENABLE_REDIS_WRAPPER="true" \
ENABLE_SSHD_BOOTSTRAP="false" \
ENABLE_SSHD_WRAPPER="false" \
ENABLE_SUPERVISOR_STDOUT="false" \
REDIS_MAXMEMORY="64mb" \
REDIS_MAXMEMORY_POLICY="allkeys-lru" \
REDIS_MAXMEMORY_SAMPLES="5" \
REDIS_OPTIONS="" \
REDIS_TCP_BACKLOG="1024" \
SSH_AUTOSTART_SSHD="false" \
SSH_AUTOSTART_SSHD_BOOTSTRAP="false" \
SSH_AUTOSTART_SUPERVISOR_STDOUT="false"
REDIS_TCP_BACKLOG="1024"

# ------------------------------------------------------------------------------
# Set image metadata
Expand Down Expand Up @@ -90,7 +91,7 @@ jdeathe/centos-ssh-redis:${RELEASE_VERSION} \
org.deathe.license="MIT" \
org.deathe.vendor="jdeathe" \
org.deathe.url="https://github.com/jdeathe/centos-ssh-redis" \
org.deathe.description="CentOS-7 7.5.1804 x86_64 - EPEL Redis 3.2."
org.deathe.description="EPEL Redis 3.2. - CentOS-7 7.6.1810 x86_64."

HEALTHCHECK \
--interval=1s \
Expand Down
Loading