Approach | Description and requirements |
Docker image does not include template which does not use ENV variables | Microservices Runtime runs in a Docker container, the template is not included in the Docker image, and configuration variables values are hard coded in the template only. The template does not use ENV variables. Template file name: application.properties or a user-defined name Template location: A location that is accessible to the Docker container. Start up: The docker run command includes the SAG_IS_CONFIG_PROPERTIES environment variable which specifies the name and location of the configuration variables template. |
Docker image does not include template and template uses ENV variables | Microservices Runtime runs in a Docker container, the template is not included in the Docker image, and configuration variable values are hard coded in the template and/or the template uses environment variables. Template file name: application.properties or a user-defined name Template location: A location that is accessible to the Docker container. If you are using ENV variables for some or all of the variable values, 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. Start up: The docker run command includes the SAG_IS_CONFIG_PROPERTIES environment variable which specifies the name and location of the configuration variables template. If using the docker run command, the command must also include options --env, -e or --env-file options for setting the ENV variables in the container. |
Docker image includes template which uses ENV variables | Microservices Runtime runs in a Docker container, the configuration variables template is part of the Docker image, and the template uses environment variables for some or all the values in the template. Template name: application.properties Template location is one of the following: Integration Server_directory /instances/instanceName/application.properties Integration Server_directory /application.properties If you are using ENV variables for some or all of the variable values, 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. Start up: The docker run command must include --env, -e or --env-file options for setting the ENV variables in the container. |
On-premises Microservices Runtime installation does not include template and template does not use ENV variables. | Microservices Runtime runs on-premises, configuration variables values are hard coded in the template only, and the template is not included in the Microservices Runtime file system. The template does not use ENV variables. Template name: application.properties or a user-defined name Template location: A location that is accessible to the Microservices Runtime. Start up: Microservices Runtime start up includes the SAG_IS_CONFIG_PROPERTIES ENV variable which specifies the name and location of the configuration variables template. |
On-premises Microservices Runtime includes template which does not use ENV variables. | Microservices Runtime runs on-premises and a configuration variables template defines all the values. The template does not use ENV variables. Template name: application.properties Template location is one of the following: Integration Server_directory /instances/instanceName/application.properties Integration Server_directory /application.properties Start up: This approach does not require any special steps at start up. |
On-premises Microservices Runtime includes template which uses ENV variables | Microservices Runtime runs on-premises and a configuration variables template hard codes the values and/or uses environment variables for the values. Template name: application.properties Template location is one of the following: Integration Server_directory ?/instances/instanceName/application.properties Integration Server_directory /application.properties Environment variables can be specified in Integration Server_directory profiles/IS_instanceName/bin/custom_setenv.bat/sh files or ENV variables can be pre-defined in your environment. Start up: This approach does not require any special steps at start up. |