Enabling the quick publish target when creating the transaction server docker container

You must recreate the Transaction server Docker container during initial setup, or if database information for your production environment has changed. When you rebuild the server, set the variables for the production environment to enable the quick publish target.

Note: You can leverage Run Engine commands in the WebSphere Application Serverto add a datasource for quick publish. For more information, see Transaction server Run Engine commands. You can use the following Run Engine command in your Transaction server container:
add-datasource jndi database dbtype dbHost dbPort dbUser dbPass xa sslConnect
Where xa is set to true and jndi is jdbc/WCPublishDataSource. See Run Engine commands for Search server.
HCL Commerce DeveloperNote: Quick publish is not supported in HCL Commerce Developer.

Procedure

If you want to enable quick publish function, you cannot use the default configuration. The default mode only sets a minimal configuration. Instead, use "vault" mode or "environment variables" mode. Regardless of whether you use"vault" mode or "environment variables" mode, set the following variables to enable the quick publish function.
DBHOST_LIVE
DBNAME_LIVE
DBPASS_LIVE
DBPORT_LIVE
DBUSER_LIVE
  1. If you are using Vault to store your transaction server parameters, follow the instructions in the vault-specific Starting the Transaction server Docker container by retrieving parameters from Vault topic.
  2. If you are specifying Transaction server parameters using container environment variables, follow the instructions in the Transaction-server-specific Starting the Transaction server Docker container by retrieving parameters from container environment variables topic.