Building and Configuring the Apache Ignite Docker Image
Building the Ignite Docker Image
After completing the setup, you can use the build script to create the Apache Ignite Docker image. The included build.sh script takes the variables set in the build.env file and works with the files in the staging folder to make sure the Docker build command has the appropriate variables and build context available.
To build the image, run the following command:
./build.sh all
After the build process completes, the following Docker image is available:
thingwork/ignite-twx:latest
Configuring the Ignite Docker Image
You can add the following options to the environment section of the file to control the configuration of each container.
Variable Names
Docker Compose Defaults
Comments
IGNITE_ROOT_LOG_LEVEL
Info
Root logging level used by Ignite logger.
JVM_XOPTS
No default value set
Allow to pass additional JVM options.
ZOOKEEPER_CONNECTION
No default value set
Zookeeper connection string, used for service discovery of other nodes (example: zookeeper-host:2181)
ZK_SSL_ENABLED
false
Enables the HTTPS connector on Zookeeper for secured traffic to the container. You must also provide a keystore and the SSL_KEYSTORE_PASSWORD must be set.
ZK_SSL_KEYSTORE_LOCATION
No default value set
Path to the Zookeeper KeyStore can be stored in certs volume. For example: /certs/zookeeper.p12
ZK_SSL_KEYSTORE_PASSWORD
No default value set
Sets the password to the KeyStore used for SSL communication with Zookeeper.
ZK_SSL_TRUSTSTORE_LOCATION
No default value set
Path for the Zookeeper TrustStore can be stored in certs volume. For example: /certs/zookeeper-truststore.p12
ZK_SSL_TRUSTSTORE_PASSWORD
No default value set
Password for the Zookeeper TrustStore.
Was this helpful?