From 0c9923f52b014d0d1f77544a82a383babb2c22cc Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Mon, 15 Jan 2024 17:52:28 +0100 Subject: [PATCH] [bitnami/redis-sentinel] Release 7.2.4-debian-11-r2 (#54776) Signed-off-by: Bitnami Containers --- .../redis-sentinel/7.2/debian-11/Dockerfile | 4 +- .../7.2/debian-11/docker-compose.yml | 22 ----- bitnami/redis-sentinel/README.md | 82 +++++++++---------- 3 files changed, 40 insertions(+), 68 deletions(-) delete mode 100644 bitnami/redis-sentinel/7.2/debian-11/docker-compose.yml diff --git a/bitnami/redis-sentinel/7.2/debian-11/Dockerfile b/bitnami/redis-sentinel/7.2/debian-11/Dockerfile index 09dc815b316e..873a783b044c 100644 --- a/bitnami/redis-sentinel/7.2/debian-11/Dockerfile +++ b/bitnami/redis-sentinel/7.2/debian-11/Dockerfile @@ -7,10 +7,10 @@ ARG TARGETARCH LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \ org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \ - org.opencontainers.image.created="2024-01-11T15:50:31Z" \ + org.opencontainers.image.created="2024-01-15T16:23:50Z" \ org.opencontainers.image.description="Application packaged by VMware, Inc" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="7.2.4-debian-11-r1" \ + org.opencontainers.image.ref.name="7.2.4-debian-11-r2" \ org.opencontainers.image.title="redis-sentinel" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="7.2.4" diff --git a/bitnami/redis-sentinel/7.2/debian-11/docker-compose.yml b/bitnami/redis-sentinel/7.2/debian-11/docker-compose.yml deleted file mode 100644 index 296d030e9ba5..000000000000 --- a/bitnami/redis-sentinel/7.2/debian-11/docker-compose.yml +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright VMware, Inc. -# SPDX-License-Identifier: APACHE-2.0 - -version: '2' - -services: - redis-sentinel: - image: docker.io/bitnami/redis-sentinel:7.2 - volumes: - - redis-sentinel_data:/bitnami - redis: - image: docker.io/bitnami/redis:7.2 - environment: - # ALLOW_EMPTY_PASSWORD is recommended only for development. - - ALLOW_EMPTY_PASSWORD=yes - volumes: - - redis_data:/bitnami -volumes: - redis-sentinel_data: - driver: local - redis_data: - driver: local diff --git a/bitnami/redis-sentinel/README.md b/bitnami/redis-sentinel/README.md index eb8a78db2428..7012fc2bac8d 100644 --- a/bitnami/redis-sentinel/README.md +++ b/bitnami/redis-sentinel/README.md @@ -196,51 +196,45 @@ docker-compose up --scale redis-sentinel=3 -d ### Environment variables -| Name | Description | Default Value | Can be set | -|---------------------------------------------------|------------------------------------------------------------------------|------------------------------------------------|------------| -| `$REDIS_SENTINEL_VOLUME_DIR` | Persistence base directory | `/bitnami/redis-sentinel` | | -| `$REDIS_SENTINEL_BASE_DIR` | Redis installation directory | `${BITNAMI_ROOT_DIR}/redis-sentinel` | | -| `$REDIS_SENTINEL_CONF_DIR` | Redis configuration directory | `${REDIS_SENTINEL_BASE_DIR}/etc` | | -| `$REDIS_SENTINEL_DATA_DIR` | Redis data directory | `${REDIS_SENTINEL_VOLUME_DIR}/data` | ✓ | -| `$REDIS_SENTINEL_MOUNTED_CONF_DIR` | Redis mounted configuration directory | `${REDIS_SENTINEL_BASE_DIR}/mounted-etc` | | -| `$REDIS_SENTINEL_CONF_FILE` | Redis configuration file | `${REDIS_SENTINEL_CONF_DIR}/sentinel.conf` | | -| `$REDIS_SENTINEL_LOG_DIR` | Redis logs directory | `${REDIS_SENTINEL_BASE_DIR}/logs` | | -| `$REDIS_SENTINEL_LOG_FILE` | Redis log file | `${REDIS_SENTINEL_LOG_DIR}/redis-sentinel.log` | | -| `$REDIS_SENTINEL_TMP_DIR` | Redis temporary directory | `${REDIS_SENTINEL_BASE_DIR}/tmp` | | -| `$REDIS_SENTINEL_PID_FILE` | Redis PID file | `${REDIS_SENTINEL_TMP_DIR}/redis-sentinel.pid` | | -| `$REDIS_SENTINEL_BIN_DIR` | Redis executables directory | `${REDIS_SENTINEL_BASE_DIR}/bin` | | -| `$REDIS_SENTINEL_DAEMON_USER` | Redis system user | `redis` | | -| `$REDIS_SENTINEL_DAEMON_GROUP` | Redis system group | `redis` | | -| `$REDIS_SENTINEL_DISABLE_COMMANDS` | Commands to disable in Redis | | ✓ | -| `$REDIS_SENTINEL_DATABASE` | Default Redis database | `redis` | ✓ | -| `$REDIS_SENTINEL_AOF_ENABLED` | Enable AOF | `yes` | ✓ | -| `$REDIS_SENTINEL_HOST` | Redis Sentinel host | | ✓ | -| `$REDIS_SENTINEL_MASTER_NAME` | Redis Sentinel master name | | ✓ | -| `$REDIS_SENTINEL_DEFAULT_PORT_NUMBER` | Redis Sentinel host port | `26379` | | -| `$REDIS_SENTINEL_PORT_NUMBER` | Redis Sentinel host port | `$REDIS_SENTINEL_DEFAULT_PORT_NUMBER` | ✓ | -| `$REDIS_SENTINEL_QUORUM` | Minimum number of sentinel nodes in order to reach a failover decision | `2` | ✓ | -| `$REDIS_SENTINEL_DOWN_AFTER_MILLISECONDS` | Time (in milliseconds) to consider a node to be down | `60000` | ✓ | -| `$REDIS_SENTINEL_FAILOVER_TIMEOUT` | Specifies the failover timeout (in milliseconds) | `180000` | ✓ | -| `$REDIS_SENTINEL_MASTER_REBOOT_DOWN_AFTER_PERIOD` | Specifies the timeout (in milliseconds) for rebooting a master | `0` | ✓ | -| `$REDIS_SENTINEL_RESOLVE_HOSTNAMES` | Enables hostnames support | `yes` | ✓ | -| `$REDIS_SENTINEL_ANNOUNCE_HOSTNAMES` | Announce hostnames | `no` | ✓ | -| `$ALLOW_EMPTY_PASSWORD` | Allow password-less access | `no` | ✓ | -| `$REDIS_SENTINEL_PASSWORD` | Password for Redis | | ✓ | -| `$REDIS_MASTER_USER` | Redis master node username | | ✓ | -| `$REDIS_MASTER_PASSWORD` | Redis master node password | | ✓ | -| `$REDIS_SENTINEL_ANNOUNCE_IP` | IP address used to gossip its presence | | ✓ | -| `$REDIS_SENTINEL_ANNOUNCE_PORT` | Port used to gossip its presence | | ✓ | -| `$REDIS_SENTINEL_TLS_ENABLED` | Enable TLS for Redis authentication | `no` | ✓ | -| `$REDIS_SENTINEL_TLS_PORT_NUMBER` | Redis TLS port (requires REDIS_SENTINEL_ENABLE_TLS=yes) | `26379` | ✓ | -| `$REDIS_SENTINEL_TLS_CERT_FILE` | Redis TLS certificate file | | ✓ | -| `$REDIS_SENTINEL_TLS_KEY_FILE` | Redis TLS key file | | ✓ | -| `$REDIS_SENTINEL_TLS_CA_FILE` | Redis TLS CA file | | ✓ | -| `$REDIS_SENTINEL_TLS_DH_PARAMS_FILE` | Redis TLS DH parameter file | | ✓ | -| `$REDIS_SENTINEL_TLS_AUTH_CLIENTS` | Enable Redis TLS client authentication | `yes` | ✓ | -| `$REDIS_MASTER_HOST` | Redis master host (used by slaves) | `redis` | ✓ | -| `$REDIS_MASTER_PORT_NUMBER` | Redis master host port (used by slaves) | `6379` | ✓ | -| `$REDIS_MASTER_SET` | Redis sentinel master set | `mymaster` | ✓ | +#### Customizable environment variables +| Name | Description | Default Value | +|---------------------------------------------------|------------------------------------------------------------------------|---------------------------------------| +| `$REDIS_SENTINEL_DATA_DIR` | Redis data directory | `${REDIS_SENTINEL_VOLUME_DIR}/data` | +| `$REDIS_SENTINEL_DATABASE` | Default Redis database | `redis` | +| `$REDIS_SENTINEL_AOF_ENABLED` | Enable AOF | `yes` | +| `$REDIS_SENTINEL_PORT_NUMBER` | Redis Sentinel host port | `$REDIS_SENTINEL_DEFAULT_PORT_NUMBER` | +| `$REDIS_SENTINEL_QUORUM` | Minimum number of sentinel nodes in order to reach a failover decision | `2` | +| `$REDIS_SENTINEL_DOWN_AFTER_MILLISECONDS` | Time (in milliseconds) to consider a node to be down | `60000` | +| `$REDIS_SENTINEL_FAILOVER_TIMEOUT` | Specifies the failover timeout (in milliseconds) | `180000` | +| `$REDIS_SENTINEL_MASTER_REBOOT_DOWN_AFTER_PERIOD` | Specifies the timeout (in milliseconds) for rebooting a master | `0` | +| `$REDIS_SENTINEL_RESOLVE_HOSTNAMES` | Enables hostnames support | `yes` | +| `$REDIS_SENTINEL_ANNOUNCE_HOSTNAMES` | Announce hostnames | `no` | +| `$ALLOW_EMPTY_PASSWORD` | Allow password-less access | `no` | +| `$REDIS_SENTINEL_TLS_ENABLED` | Enable TLS for Redis authentication | `no` | +| `$REDIS_SENTINEL_TLS_PORT_NUMBER` | Redis TLS port (requires REDIS_SENTINEL_ENABLE_TLS=yes) | `26379` | +| `$REDIS_SENTINEL_TLS_AUTH_CLIENTS` | Enable Redis TLS client authentication | `yes` | +| `$REDIS_MASTER_HOST` | Redis master host (used by slaves) | `redis` | +| `$REDIS_MASTER_PORT_NUMBER` | Redis master host port (used by slaves) | `6379` | +| `$REDIS_MASTER_SET` | Redis sentinel master set | `mymaster` | + +#### Read-only environment variables + +| Name | Description | Value | +|---------------------------------------|---------------------------------------|------------------------------------------------| +| `$REDIS_SENTINEL_VOLUME_DIR` | Persistence base directory | `/bitnami/redis-sentinel` | +| `$REDIS_SENTINEL_BASE_DIR` | Redis installation directory | `${BITNAMI_ROOT_DIR}/redis-sentinel` | +| `$REDIS_SENTINEL_CONF_DIR` | Redis configuration directory | `${REDIS_SENTINEL_BASE_DIR}/etc` | +| `$REDIS_SENTINEL_MOUNTED_CONF_DIR` | Redis mounted configuration directory | `${REDIS_SENTINEL_BASE_DIR}/mounted-etc` | +| `$REDIS_SENTINEL_CONF_FILE` | Redis configuration file | `${REDIS_SENTINEL_CONF_DIR}/sentinel.conf` | +| `$REDIS_SENTINEL_LOG_DIR` | Redis logs directory | `${REDIS_SENTINEL_BASE_DIR}/logs` | +| `$REDIS_SENTINEL_LOG_FILE` | Redis log file | `${REDIS_SENTINEL_LOG_DIR}/redis-sentinel.log` | +| `$REDIS_SENTINEL_TMP_DIR` | Redis temporary directory | `${REDIS_SENTINEL_BASE_DIR}/tmp` | +| `$REDIS_SENTINEL_PID_FILE` | Redis PID file | `${REDIS_SENTINEL_TMP_DIR}/redis-sentinel.pid` | +| `$REDIS_SENTINEL_BIN_DIR` | Redis executables directory | `${REDIS_SENTINEL_BASE_DIR}/bin` | +| `$REDIS_SENTINEL_DAEMON_USER` | Redis system user | `redis` | +| `$REDIS_SENTINEL_DAEMON_GROUP` | Redis system group | `redis` | +| `$REDIS_SENTINEL_DEFAULT_PORT_NUMBER` | Redis Sentinel host port | `26379` | ### Securing Redis(R) Sentinel traffic