Starting the Store server Docker container with default configurations

Learn how to start Store server Docker container without specifying the CONFIGURE_MODE parameter.

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

Default host name

When you start by using the default configurations, the Store server Docker container host name is store.

Mandatory parameters

Parameter name Value Configuration
SPIUSER_NAME Your SPIUSER name. The default value is spiuser.
Note: From version 9.1.7.0 onward, the SPIUSER_NAME parameter is optional. If it is not specified, then the default value is assumed.
Container environment variable/Vault
SPIUSER_PWD The encrypted password for the spiuser. For more information, see Setting the spiuser password in your Docker images. Container environment variable/Vault
ELASTICSEARCH_ENABLED Specify if the environment is using the Elasticsearch-based or Solr-based search solution. Accepted values are true for Elasticsearch-based search, and false for Solr-based search. Container environment variable/Vault

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.
HEALTH_CENTER_ENABLED Specify whether Health Center is enabled. Accepted values are true and false.

The default value is false.

EXPOSE_METRICS Specify if you want to enable metrics for the HCL Commerce environment.
SEARCH_HOST
The Search hostname. The default values are:
  • query for the Elasticsearch-based search solution.
  • search for the Solr-based search solution.
The value is determined by the value of the environment ELASTICSEARCH_ENABLED parameter.
SEARCH_PORT
The Search port number. The default values are:
  • 30901 for the Elasticsearch-based search solution.
  • 3738 for the Solr-based search solution.
The value is determined by the value of the environment ELASTICSEARCH_ENABLED parameter.
SEARCH_SCHEME

The Search scheme. The default value is https.

Code example

docker run -it -e LICENSE=accept  \
    -e SPIUSER_NAME=<your spiuser-name> \
    -e SPIUSER_PWD=<your spiuser password that you encrypted with wcs-encrypt.sh>
    <Store Docker image>