Starting the Data Query Docker container with default configurations

Learn how to start the Data Query Docker containers.

To start the Data Query container with default configurations, run the following command.
docker run -it -e LICENSE=accept data-query
When you start by using the default configurations, the Data-Query server image name is search-query-app.

Default host name

When you start by using the default configurations, the Data Query Docker container host name is data-query.

Mandatory parameters for Data Query

Parameter name Description
ENVTYPE The environment type for data-query. The default is data.

Optional parameters for Data Query

Parameter name Description
ELASTICSEARCH_HOST The Elasticsearch container host name. The default value is elasticsearch.
ELASTICSEARCH_PORT The Elasticsearch service port. The default value is 9200.
ELASTICSEARCH_SCHEME The Elasticsearch service scheme. The default value is http.
ZOOKEEPER_HOST The Zookeeper container host name. The default value is zookeeper.
ZOOKEEPER_PORT The Zookeeper service port. The default value is 2181.
ZOOKEEPER_SCHEME The Zookeeper service scheme. The default value is http.
HCL Commerce Version 9.1.2.0 or laterNLP_ENABLE_LANGUAGE_CODE The comma separated list of language codes for natural language processing. The user needs to set the default value to be able to use the NLP functionality.
HCL Commerce Version 9.1.2.0 or laterNLP_LEMMATIZATION_FEATURE The boolean value to control whether or not the lemmatization feature for natural language processing is enabled. The default value is false.
Note: Deprecated as of HCL Commerce 9.1.11.1. This value must remain as false.
HCL Commerce Version 9.1.2.0 or laterQUERY_SERVICE_PACKAGE_NAME The comma separated list of customization Java package names the query service scans for processing. The default value is empty.
ENABLE_FEATURE_NLP Whether to enable natural language processing. This is hard coded to false.
HCL Commerce Version 9.1.2.0 or laterNote: This parameter was deprecated in HCL Commerce 9.1.2.0.
EXPOSE_METRICS Specify if you want to enable metrics for the HCL Commerce environment.

Code example

docker run -it -e LICENSE=accept  \ 
    -e ENVTYPE =<Data query environment type should be data>  
    <Data Query Docker image>