B.7 Configure the tcs-docker-swarm.yaml File
The installation bundle contains tcs-docker-swarm.yaml
file, the manifest file of the application, which contains the deployment configuration details for MicroTx.
Replace the sample values in the tcs-docker-swarm.yaml
file to provide the environment details, image details, and configuration details. The details that you provide are used to deploy MicroTx in Docker Swarm.
To provide configuration details for MicroTx:
- Transaction Coordinator Properties
Provide information to configure MicroTx. - Transaction Store Properties
MicroTx uses a transaction store for persistence of transaction state. - TLS Properties
Run MicroTx using the HTTP or HTTPS protocol. - Authorization Properties
MicroTx supports authorization across participant services and coordinator by propagating the JWT token in every request. Use theauthTokenPropagationEnabled
field to control this function. Configure your identity providers to auto-refresh the expired access tokens at the coordinator. - Authentication Properties
Enter values for theissuer
andjwksUri
parameters of the JSON Web Token (JWT) which is used for authentication. To find information for these fields, use the Discover URL. - Encryption Key Properties
Underencryption
, specify the encryption key that MicroTx uses to encrypt the access and refresh tokens. You must provide values for these properties if you have enabled theauthTokenPropagationEnabled
property undertmmConfiguration.authorization
. - Transaction Token Properties
UndertransactionToken
, specify the key pair that you want to use for transaction token.
Parent topic: Install on Docker Swarm