mirror of
https://github.com/bitnami/containers.git
synced 2026-03-07 10:07:20 +08:00
3.4.12-r3 release
Adding new env. variable to configure maxClientCnxns
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM bitnami/minideb-extras:jessie-r48
|
||||
FROM bitnami/minideb-extras:jessie-r49
|
||||
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
ENV BITNAMI_PKG_CHMOD="-R g+rwX" \
|
||||
@@ -6,12 +6,12 @@ ENV BITNAMI_PKG_CHMOD="-R g+rwX" \
|
||||
|
||||
# Install required system packages and dependencies
|
||||
RUN bitnami-pkg install java-1.8.171-1 --checksum e8a1956085b60e632976f9671899919b245b6c4dfd0035292b4b47a16669d0fd
|
||||
RUN bitnami-pkg unpack zookeeper-3.4.12-1 --checksum d7464adb59e4c72c78d129f2c4399cd9aa6b9f09595adc3633044802433a8681
|
||||
RUN bitnami-pkg unpack zookeeper-3.4.12-2 --checksum dfc25ec25de0d5470bd5109e65c996c9407e3925572bdfbf7aa1ce05abebff29
|
||||
|
||||
COPY rootfs /
|
||||
ENV ALLOW_ANONYMOUS_LOGIN="no" \
|
||||
BITNAMI_APP_NAME="zookeeper" \
|
||||
BITNAMI_IMAGE_VERSION="3.4.12-r2" \
|
||||
BITNAMI_IMAGE_VERSION="3.4.12-r3" \
|
||||
JVMFLAGS="" \
|
||||
PATH="/opt/bitnami/java/bin:/opt/bitnami/zookeeper/bin:$PATH" \
|
||||
ZOO_CLIENT_PASSWORD="" \
|
||||
@@ -19,6 +19,7 @@ ENV ALLOW_ANONYMOUS_LOGIN="no" \
|
||||
ZOO_ENABLE_AUTH="no" \
|
||||
ZOO_HEAP_SIZE="1024" \
|
||||
ZOO_INIT_LIMIT="10" \
|
||||
ZOO_MAX_CLIENT_CNXNS="60" \
|
||||
ZOO_PORT_NUMBER="2181" \
|
||||
ZOO_SERVERS="" \
|
||||
ZOO_SERVER_ID="1" \
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
"zookeeperId": "{{$global.env.ZOO_SERVER_ID}}",
|
||||
"zookeeperInitLimit": "{{$global.env.ZOO_INIT_LIMIT}}",
|
||||
"zookeeperJvmFlags": "{{$global.env.JVMFLAGS}}",
|
||||
"zookeeperMaxClientCnxns": "{{$global.env.ZOO_MAX_CLIENT_CNXNS}}",
|
||||
"zookeeperPort": "{{$global.env.ZOO_PORT_NUMBER}}",
|
||||
"zookeeperServerPasswords": "{{$global.env.ZOO_SERVER_PASSWORDS}}",
|
||||
"zookeeperServerUsers": "{{$global.env.ZOO_SERVER_USERS}}",
|
||||
|
||||
@@ -161,6 +161,7 @@ The configuration can easily be setup with the Bitnami Zookeeper Docker image us
|
||||
- `ZOO_TICK_TIME`: Basic time unit in milliseconds used by ZooKeeper for heartbeats. Default: **2000**
|
||||
- `ZOO_INIT_LIMIT`: ZooKeeper uses to limit the length of time the ZooKeeper servers in quorum have to connect to a leader. Default: **10**
|
||||
- `ZOO_SYNC_LIMIT`: How far out of date a server can be from a leader. Default: **5**
|
||||
- `ZOO_MAX_CLIENT_CNXNS`: Limits the number of concurrent connections that a single client may make to a single member of the ZooKeeper ensemble. Default **60**
|
||||
- `ZOO_SERVERS`: Comma, space or colon separated list of servers. Example: zoo1:2888:3888,zoo2:2888:3888. No defaults.
|
||||
- `ZOO_CLIENT_USER`: User that will use Zookeeper clients to auth. Default: No defaults.
|
||||
- `ZOO_CLIENT_PASSWORD`: Password that will use Zookeeper clients to auth. No defaults.
|
||||
|
||||
Reference in New Issue
Block a user