mirror of
https://github.com/bitnami/containers.git
synced 2026-03-16 06:49:12 +08:00
[bitnami/redis-sentinel] Release 8.2.2-debian-12-r1 (#88019)
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
@@ -7,7 +7,7 @@ ARG DOWNLOADS_URL="downloads.bitnami.com/files/stacksmith"
|
|||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
|
|
||||||
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
|
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
|
||||||
org.opencontainers.image.created="2025-10-03T12:14:54Z" \
|
org.opencontainers.image.created="2025-11-02T12:35:02Z" \
|
||||||
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
|
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
|
||||||
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/redis-sentinel/README.md" \
|
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/redis-sentinel/README.md" \
|
||||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/redis-sentinel" \
|
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/redis-sentinel" \
|
||||||
@@ -50,7 +50,7 @@ COPY rootfs /
|
|||||||
RUN /opt/bitnami/scripts/redis-sentinel/postunpack.sh
|
RUN /opt/bitnami/scripts/redis-sentinel/postunpack.sh
|
||||||
ENV APP_VERSION="8.2.2" \
|
ENV APP_VERSION="8.2.2" \
|
||||||
BITNAMI_APP_NAME="redis-sentinel" \
|
BITNAMI_APP_NAME="redis-sentinel" \
|
||||||
IMAGE_REVISION="0"
|
IMAGE_REVISION="1"
|
||||||
|
|
||||||
EXPOSE 26379
|
EXPOSE 26379
|
||||||
|
|
||||||
|
|||||||
@@ -229,7 +229,8 @@ redis_initialize() {
|
|||||||
[[ -z "$REDIS_SENTINEL_ANNOUNCE_PORT" ]] || redis_conf_set "sentinel announce-port" "${REDIS_SENTINEL_ANNOUNCE_PORT}"
|
[[ -z "$REDIS_SENTINEL_ANNOUNCE_PORT" ]] || redis_conf_set "sentinel announce-port" "${REDIS_SENTINEL_ANNOUNCE_PORT}"
|
||||||
redis_conf_set "sentinel resolve-hostnames" "${REDIS_SENTINEL_RESOLVE_HOSTNAMES}"
|
redis_conf_set "sentinel resolve-hostnames" "${REDIS_SENTINEL_RESOLVE_HOSTNAMES}"
|
||||||
redis_conf_set "sentinel announce-hostnames" "${REDIS_SENTINEL_ANNOUNCE_HOSTNAMES}"
|
redis_conf_set "sentinel announce-hostnames" "${REDIS_SENTINEL_ANNOUNCE_HOSTNAMES}"
|
||||||
redis_conf_set "SENTINEL master-reboot-down-after-period" "${REDIS_MASTER_SET} ${REDIS_SENTINEL_MASTER_REBOOT_DOWN_AFTER_PERIOD}"
|
# This directive is only available in Redis 7
|
||||||
|
[[ $(redis_version --major) -ge 7 ]] && redis_conf_set "SENTINEL master-reboot-down-after-period" "${REDIS_MASTER_SET} ${REDIS_SENTINEL_MASTER_REBOOT_DOWN_AFTER_PERIOD}"
|
||||||
|
|
||||||
# Sentinel Configuration (maybe overwritten by more specific init blocks like TLS configuration)
|
# Sentinel Configuration (maybe overwritten by more specific init blocks like TLS configuration)
|
||||||
redis_conf_set port "$REDIS_SENTINEL_PORT_NUMBER"
|
redis_conf_set port "$REDIS_SENTINEL_PORT_NUMBER"
|
||||||
|
|||||||
Reference in New Issue
Block a user