File tree Expand file tree Collapse file tree 4 files changed +11
-8
lines changed
bitnami/clickhouse-keeper
rootfs/opt/bitnami/scripts Expand file tree Collapse file tree 4 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ ARG TARGETARCH
88
99LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \
1010 org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
11- org.opencontainers.image.created="2025-04-05T18:24:10Z " \
11+ org.opencontainers.image.created="2025-04-07T10:42:15Z " \
1212 org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
1313 org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/clickhouse-keeper/README.md" \
14- org.opencontainers.image.ref.name="25.3.2-debian-12-r1 " \
14+ org.opencontainers.image.ref.name="25.3.2-debian-12-r2 " \
1515 org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/clickhouse-keeper" \
1616 org.opencontainers.image.title="clickhouse-keeper" \
1717 org.opencontainers.image.vendor="Broadcom, Inc." \
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ export BITNAMI_DEBUG="${BITNAMI_DEBUG:-false}"
2424# By setting an environment variable matching *_FILE to a file path, the prefixed environment
2525# variable will be overridden with the value specified in that file
2626clickhouse_keeper_env_vars=(
27+ CLICKHOUSE_KEEPER_SKIP_SETUP
2728 CLICKHOUSE_KEEPER_SERVER_ID
2829 CLICKHOUSE_KEEPER_TCP_PORT
2930 CLICKHOUSE_KEEPER_RAFT_PORT
@@ -56,6 +57,7 @@ export CLICKHOUSE_KEEPER_TMP_DIR="${CLICKHOUSE_KEEPER_BASE_DIR}/tmp"
5657export CLICKHOUSE_KEEPER_PID_FILE=" ${CLICKHOUSE_KEEPER_TMP_DIR} /clickhouse-keeper.pid"
5758
5859# ClickHouse Keeper configuration parameters
60+ export CLICKHOUSE_KEEPER_SKIP_SETUP=" ${CLICKHOUSE_KEEPER_SKIP_SETUP:- no} "
5961export CLICKHOUSE_KEEPER_SERVER_ID=" ${CLICKHOUSE_KEEPER_SERVER_ID:- } "
6062export CLICKHOUSE_KEEPER_TCP_PORT=" ${CLICKHOUSE_KEEPER_TCP_PORT:- 9181} "
6163export CLICKHOUSE_KEEPER_RAFT_PORT=" ${CLICKHOUSE_KEEPER_RAFT_PORT:- 9234} "
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ set -o pipefail
1919am_i_root && ensure_user_exists " $CLICKHOUSE_DAEMON_USER " --group " $CLICKHOUSE_DAEMON_GROUP "
2020
2121# ClickHouse Keeper initialization, skipped if custom keeper_config.xml was mounted
22- if [[ ! -f " $CLICKHOUSE_KEEPER_CONF_FILE " ]]; then
22+ if ! is_boolean_yes " $CLICKHOUSE_KEEPER_SKIP_SETUP " && [[ ! -f " $CLICKHOUSE_KEEPER_CONF_FILE " ]]; then
2323 # Ensure ClickHouse Keeper environment settings are valid
2424 keeper_validate
2525 # Ensure ClickHouse Keeper is initialized
Original file line number Diff line number Diff line change @@ -186,11 +186,12 @@ Check the [official ClickHouse Keeper configuration documentation](https://click
186186
187187# ### Customizable environment variables
188188
189- | Name | Description | Default Value |
190- |-------------------------------|------------------------------|---------------|
191- | `CLICKHOUSE_KEEPER_SERVER_ID` | ClickHouse Keeper server ID. | `nil` |
192- | `CLICKHOUSE_KEEPER_TCP_PORT` | ClickHouse Keeper TCP port. | `9181` |
193- | `CLICKHOUSE_KEEPER_RAFT_PORT` | ClickHouse Keeper Raft port. | `9234` |
189+ | Name | Description | Default Value |
190+ |--------------------------------|-------------------------------|---------------|
191+ | `CLICKHOUSE_KEEPER_SKIP_SETUP` | Skip ClickHouse Keeper setup. | `no` |
192+ | `CLICKHOUSE_KEEPER_SERVER_ID` | ClickHouse Keeper server ID. | `nil` |
193+ | `CLICKHOUSE_KEEPER_TCP_PORT` | ClickHouse Keeper TCP port. | `9181` |
194+ | `CLICKHOUSE_KEEPER_RAFT_PORT` | ClickHouse Keeper Raft port. | `9234` |
194195
195196# ### Read-only environment variables
196197
You can’t perform that action at this time.
0 commit comments