Configuration
ZooNavigator’s Docker image can be configured using environment variables.
Configuration options could be split into three groups:
ZooNavigator - configures ZooNavigator and the web server
ZooKeeper client - configuration related to ZooKeeper
Java - configures the Java Virtual Machine
ZooKeeper client
ZK_CLIENT_TIMEOUT_MILLIS
default: 5000
Sets inactivity timeout for ZooKeeper client. If user doesn’t make any request during this period ZooKeeper connection will be closed and recreated for the future request if any. This value is in milliseconds.
Note
on client timeout user does not get logged out unlike in event of session timeout
ZK_CONNECT_TIMEOUT_MILLIS
default: 5000
Sets timeout for attempt to establish connection with ZooKeeper. This value is in milliseconds.
ZK_SASL_CLIENT
default: true
Set the value to false
to disable SASL authentication.
ZK_SASL_CLIENT_CONFIG
default: Client
Specifies the context key in the JAAS login file.
ZK_SASL_CLIENT_USERNAME
default: zookeeper
Specifies the primary part of the server principal. Learn more here.
ZK_SERVER_REALM
Realm part of the server principal.
By default it is the client principal realm.
ZK_CLIENT_SECURE
If you want to connect to the server secure client port, you need to set this property to true
.
This will connect to server using SSL with specified credentials.
ZK_SSL_KEYSTORE_PATH
Specifies the file path to a JKS containing the local credentials to be used for SSL connections.
ZK_SSL_KEYSTORE_PASSWORD
Specifies the password to a JKS containing the local credentials to be used for SSL connections.
ZK_SSL_TRUSTSTORE_PATH
Specifies the file path to a JKS containing the remote credentials to be used for SSL connections.
ZK_SSL_TRUSTSTORE_PASSWORD
Specifies the password to a JKS containing the remote credentials to be used for SSL connections.
Java
JAVA_OPTS
Custom Java arguments.
JAVA_XMS
Sets initial Java heap size. This value is in bytes if no unit is specified.
JAVA_XMX
Sets maximum Java heap size. This value is in bytes if no unit is specified.
JAVA_JAAS_LOGIN_CONFIG
Path to JAAS login configuration file to use.
JAVA_KRB5_DEBUG
If set to true
, enables debugging mode and detailed logging for Kerberos.
JAVA_KRB5_REALM
Sets the default Kerberos realm.
JAVA_KRB5_KDC
Sets the default Kerberos KDC.