Skip to content
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
4 changes: 2 additions & 2 deletions bitnami/clickhouse-keeper/25/debian-12/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ ARG TARGETARCH

LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
org.opencontainers.image.created="2025-04-05T18:24:10Z" \
org.opencontainers.image.created="2025-04-07T10:42:15Z" \
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/clickhouse-keeper/README.md" \
org.opencontainers.image.ref.name="25.3.2-debian-12-r1" \
org.opencontainers.image.ref.name="25.3.2-debian-12-r2" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/clickhouse-keeper" \
org.opencontainers.image.title="clickhouse-keeper" \
org.opencontainers.image.vendor="Broadcom, Inc." \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export BITNAMI_DEBUG="${BITNAMI_DEBUG:-false}"
# By setting an environment variable matching *_FILE to a file path, the prefixed environment
# variable will be overridden with the value specified in that file
clickhouse_keeper_env_vars=(
CLICKHOUSE_KEEPER_SKIP_SETUP
CLICKHOUSE_KEEPER_SERVER_ID
CLICKHOUSE_KEEPER_TCP_PORT
CLICKHOUSE_KEEPER_RAFT_PORT
Expand Down Expand Up @@ -56,6 +57,7 @@ export CLICKHOUSE_KEEPER_TMP_DIR="${CLICKHOUSE_KEEPER_BASE_DIR}/tmp"
export CLICKHOUSE_KEEPER_PID_FILE="${CLICKHOUSE_KEEPER_TMP_DIR}/clickhouse-keeper.pid"

# ClickHouse Keeper configuration parameters
export CLICKHOUSE_KEEPER_SKIP_SETUP="${CLICKHOUSE_KEEPER_SKIP_SETUP:-no}"
export CLICKHOUSE_KEEPER_SERVER_ID="${CLICKHOUSE_KEEPER_SERVER_ID:-}"
export CLICKHOUSE_KEEPER_TCP_PORT="${CLICKHOUSE_KEEPER_TCP_PORT:-9181}"
export CLICKHOUSE_KEEPER_RAFT_PORT="${CLICKHOUSE_KEEPER_RAFT_PORT:-9234}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ set -o pipefail
am_i_root && ensure_user_exists "$CLICKHOUSE_DAEMON_USER" --group "$CLICKHOUSE_DAEMON_GROUP"

# ClickHouse Keeper initialization, skipped if custom keeper_config.xml was mounted
if [[ ! -f "$CLICKHOUSE_KEEPER_CONF_FILE" ]]; then
if ! is_boolean_yes "$CLICKHOUSE_KEEPER_SKIP_SETUP" && [[ ! -f "$CLICKHOUSE_KEEPER_CONF_FILE" ]]; then
# Ensure ClickHouse Keeper environment settings are valid
keeper_validate
# Ensure ClickHouse Keeper is initialized
Expand Down
11 changes: 6 additions & 5 deletions bitnami/clickhouse-keeper/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,12 @@ Check the [official ClickHouse Keeper configuration documentation](https://click

#### Customizable environment variables

| Name | Description | Default Value |
|-------------------------------|------------------------------|---------------|
| `CLICKHOUSE_KEEPER_SERVER_ID` | ClickHouse Keeper server ID. | `nil` |
| `CLICKHOUSE_KEEPER_TCP_PORT` | ClickHouse Keeper TCP port. | `9181` |
| `CLICKHOUSE_KEEPER_RAFT_PORT` | ClickHouse Keeper Raft port. | `9234` |
| Name | Description | Default Value |
|--------------------------------|-------------------------------|---------------|
| `CLICKHOUSE_KEEPER_SKIP_SETUP` | Skip ClickHouse Keeper setup. | `no` |
| `CLICKHOUSE_KEEPER_SERVER_ID` | ClickHouse Keeper server ID. | `nil` |
| `CLICKHOUSE_KEEPER_TCP_PORT` | ClickHouse Keeper TCP port. | `9181` |
| `CLICKHOUSE_KEEPER_RAFT_PORT` | ClickHouse Keeper Raft port. | `9234` |

#### Read-only environment variables

Expand Down
Loading