HCL Commerce Version 9.1.9.0 or later

Starting the GraphQL Docker container with default configurations

Learn how to start the GraphQL Docker container.

To start the container with default configurations to view files inside the container, use:
docker run -it -e LICENSE=accept graphql-app
When you start by using the default configurations, the GraphQL Docker image name is graphql-app.

Default host name

When you start by using the default configurations, the GraphQL Docker container  host name is graphql.

Mandatory parameters

Parameter name Value
ELASTICSEARCH_ENABLED Specify if the environment is using the Elasticsearch-based or Solr-based search solution.
Accepted values are:
  • true for Elasticsearch-based search;
  • false for Solr-based search.

Optional parameters

Parameter name Description
SSLPort The remote store page redirect secure port.
NONSSLPort The remote store page redirect non-secure port.
ZOOKEEPER_SERVERS Works with KAFKA_SERVERS, if you want to configure the container to catch validation.
TX_HOST The Transaction server host name. The default value is app.
TX_PORT The Transaction server port.

The default value is 5443.

QUERY_HOST The Query server hostname.
The default value is query.
Note: This parameter is only required if the Elasticsearch-based search solution is enabled.
QUERY_PORT The auth or live query server port.

The default value is 30901.

QUERY_SCHEME The auth or live query server scheme.

The default value is https.

DATA_QUERY_HOST The Data-query hostname.
The default value is data-query.
Note: This parameter is only required if the Elasticsearch-based search solution is enabled.
DATA_QUERY_PORT The Data Query server port.

The default value is 30901.

DATA_QUERY_SCHEME The Data Query server scheme.

The default value is https.

INGEST_HOST The Ingest server hostname.
The default value is ingest.
Note: This parameter is only required if the Elasticsearch-based search solution is enabled.
INGEST_PORT The Ingest server port.

The default value is 30801.

INGEST_SCHEME The Ingest server scheme.

The default value is https.

SEARCH_HOST The Solr-based Search server hostname.
The default value is search.
Note: This parameter is only required if you are not using Elasticsearch-based search.
SEARCH_PORT The Solr-based Search server port.

The default value is 3738.

SEARCH_SCHEME The Solr-based Search server scheme.

The default value is https.

XC_HOST The Customization server server host name.

The default value is xc.

XC_PORT The Customization server port.

The default value is 9443.

ENVTYPE The environment type.

The environment type value can be either auth or live.