Integration Server 10.15 | Microservices Runtime Guide | Using Configuration Variables Templates with Microservices Runtime | Overview of Building a Configuration Variables Template
 
Overview of Building a Configuration Variables Template
Preparing a configuration variables template for use with Microservices Runtime consists of a series of general tasks. The order in which you complete these tasks may be affected by whether you intend to use the template with a Microservices Runtime in a Docker container or an on-premises Microservices Runtime.
The following table identifies the general tasks that you complete for preparing a configuration variables template for use with Microservices Runtime.
Task
Description
1
Decide how you want to use the configuration variables template and how you want to supply values. Do you want to use the template with a Microservices Runtime running in a Docker container or an on-premises Microservices Runtime? Do you want to supply all the variable values in one or more templates? Do you want to use an environment variables? For more information, see Approaches for Using a Configuration Variables Template with Microservices Runtime .
2
To use a generated template as a starting point, configure a Microservices Runtime such that the generated template will contain the properties that you want to set via a configuration variables template. When generating a template, the Microservices Runtime includes properties only for those assets that exist on the Microservices Runtime.
3
Generate the configuration variables template for the Microservices Runtime. For more information about creating a configuration variables template, see Generating a Configuration Variables Template.
4
Edit the configuration variables template to contain the property values that you want the Microservices Runtime to modify at startup. For more information about this stage, see Editing a Configuration Variables Template. If you want to add assets to Microservices Runtime by applying configuration variables template, add the key-value pairs for the asset and its properties to the template. Keep in mind that you can use a configuration variables template to add only certain asset types to the Microservices Runtime. For more information about adding assets, see Creating New Assets with the Configurations Variable Template.
5
Place the configuration variables template in the correct location with the appropriate name. The template location depends on whether or not you are using the template with a Docker image or on-premises Microservices Runtime and if the template is part of the image or file system. For more information, see Approaches for Using a Configuration Variables Template with Microservices Runtime .
Repeat this step for each template that you are using.
If you are using ENV variables as values in the configuration variables template, refer to the Docker documentation or the documentation for your container orchestration tool for more information about how to specify the ENV variables for Docker containers.
6
If you are using the template in a Docker container and the template resides inside the Microservices Runtime file system, build the Docker image.
For more information about creating a Docker image, see Using Integration Server with Docker.