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 the template or do you want to use an environment variables as well? For more information, see
Approaches for Using a Configuration
Variables Template with Microservices Runtime
. |
2 | Configure a Microservices Runtime such that the generated template will contain the properties that you want to control. When generating a template, the Microservices Runtime includes properties only for those assets which exist on the Microservices Runtime. That is, you cannot use a configuration variables template to add assets to 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
. 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 the webMethods Integration Server Administrator’s Guide |