HCL Commerce Version 9.1.16.1 or later

Starting the Orchestration Server Docker container by retrieving parameters from container environment variables

Learn about how to start the Orchestration Server Docker container by specifying CONFIGURE_MODE=EnvVariables.

Mandatory environment variables

These are the mandatory environment variables that you must specify to configure the Orchestration Server Docker container.
Environment variable name Description
TENANT The name of the group that contains your set of environments. For example, MyCompany.
ENVIRONMENT The name of the environment. For example, Non-production.
ENVTYPE The environment type. Accepted values are auth and live.
TOOLING_ORIGIN The Auth Tooling origin. For example, https://tooling.${TENANT}${ENVIRONMENT}.{{ include "external.domain" $ }}.
SPIUSER_PWD The encrypted password for the spiuser. For more information, see Setting the spiuser password in your Docker images..
SEARCH_HOST

The search server host name.

For auth environment, search master host name and for live environment, search slave host name.

TX_HOST The transaction server host name.

Optional environment variables

These are the optional environment variables that you can specify to configure the Orchestration Server Docker container container.

Environment variable name Description
DOMAIN_NAME The internal service domain name. The default value is default.svc.cluster.local. If the deployed environment is on a special namespace on Kubernetes, the domain name should be .svc.cluster.local.
SPIUSER_NAME The SPIUSER name. If it is not specified, then the default value spiuser is assumed.
SEARCH_PORT The transaction server port. If it is not specified, then the default value 3738 is assumed.
SEARCH_SCHEME The solr search scheme. If it is not specified, then the default value HTTPS is assumed.
TX_PORT The solr search port. If it is not specified, then the default value 5443 is assumed.
EXTRA_ALLOWED_ORIGINS The extra allowed origins.
Code example
docker run -it -e LICENSE=accept \.
-e CONFIGURE_MODE=EnvVariables 
-e TENANT=<tenant name> \ 
-e ENVIRONMENT=<environment name> \ 
-e ENVTYPE=<environment type> \ 
-e SPIUSER_NAME=<your spiuser-name> \ 
-e SPIUSER_PWD=<your spiuser password that you encrypted with wcs_encrypt.sh> \ 
-e TOOLING_ORIGIN=<tooling web origin url> \ -e SEARCH_HOST=<search host name> \ 
-e TX_HOST=<transaction server host name> \ 
<Orchestration Docker image>