Starting the Transaction server Docker container with default configurations

Learn how to start Transaction 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 ts-app
When you start by using the default configurations, the Transaction server Docker container image name is ts-app.

Default host name

When you start Transaction server Docker container by using the default configurations, the Transaction server Docker container host name is app.
Note:
  • This assumes that you are running a Db2 database Docker container. If you are not using a Db2 database Docker with the host name as db, then you cannot start the container by using the default configurations.
  • The database parameters are mandatory when you are not using the default configurations. If you point to a different database, you must specify all database-related parameters.

Mandatory environment variables

These are the mandatory environment variables that you must specify to configure the Transaction server Docker container.

Parameter name Description
MERCHANTKEY_ENCRYPT The encrypted merchant key that was created when you or an administrator loaded the HCL Commerce database schema. For more information, see Loading the HCL Commerce database schema.
SPIUSER_NAME Your SPIUSER name. The default value is spiuser.
SPIUSER_PWD The encrypted password for the spiuser. For more information, see Setting the spiuser password in your Docker images.
DBHOST The database hostname.
DBNAME The name of the database.
DBUSER The database user name.
DBPASS The database user password.
DBPORT The database port.
DBAUSER The database administrator.
DBAPASSENCRYPT The database administrator password that is encrypted with the wcs_encrypt.sh utility.
DBPASSENCRYPT The database user password that is encrypted with the wcs_encrypt.sh utility.

Optional environment variables

These are the optional environment variables that you can specify to configure the Transaction server Docker container.

Parameter name Description
DB_SSLENABLE Determines whether to enable SSL protocol for connections to the database. Accepted values are true or false. The default value is false.
DB_XA Specify if the XA function has been enabled for database. Accepted values are true or false. The default value is false.
adminPassword The password for user configadmin, which is used to access the WebSphere Application Server Administrative Console.
SCHEDULER_ID Specify the SchedulerHostName value in the WebSphere Application Server JVM for the Transaction server container scheduler. The default value is the Docker hostname.
SCHEDULER_CLONEID Specify the SchedulerCloneId value in the WebSphere Application Server JVM for the Transaction server container scheduler. The default value is the Docker hostname.
SESSION_KEY_ENCRYPT The encrypted session key.