Environment Variables for Docker
This section lists the environment variables that can be used for TIBCO BusinessWorks™ Container Edition application deployment on Docker and Docker based platforms.
Environment Variable | Default Values | Description |
---|---|---|
BW_LOGLEVEL | ERROR | Used to set a log level for the TIBCO BusinessWorks™ Container Edition application. The default value is ERROR. Supported values are: |
BW_ENGINE_THREADCOUNT | 8 | Used to set engine thread count for the TIBCO BusinessWorks™ Container Edition application. |
BW_ENGINE_STEPCOUNT | -1 | Used to set engine step count for the TIBCO BusinessWorks™ Container Edition application. |
BW_APPLICATION_JOB_FLOWLIMIT | n/a | Used to set flow limit for TIBCO BusinessWorks™ Container Edition application. |
APP_CONFIG_PROFILE | n/a | Name of the application profile that is to be used from a configuration management system such as ZUUL or Spring Cloud Config. |
BW_PROFILE | n/a | Used to set the name of the BusinessWorks profile from the application. |
BW_JAVA_OPTS | n/a | Used to set Java properties that are used at run time. The properties are specified using name-value pairs and are separated by spaces.
For example, BW_JAVA_OPTS="-Dname=value -Dname=value" |
MASHERY_SERVICE_CONFIG | n/a |
Applications can pass TIBCO Mashery configuration information using the MASHERY_SERVICE_CONFIG environment variable. The value of the environment variable is a JSON string with the required TIBCO Mashery configuration. For more information, see Integrating with TIBCO Mashery. |
CONSUL_SERVER_URL | n/a | Used to set Consul server configuration.
For example, CONSUL_SERVER_URL=http://127.0.0.1:8085This must be set if you intend to use Consul for application configuration or for service registration and discovery. |
EUREKA_SERVER_URL | Used to set Eureka server configuration.
For example, EUREKA_SERVER_URL=http://127.1.0.1:8080/eurekaThis must be set if you intend to use Eureka for service registration and discovery. |
|
BW_JMX_CONFIG | n/a | Used to set JMX configuration (RMI host and JMX port) for monitoring TIBCO BusinessWorks™ Container Edition application. The value should be provided in RMI_HOST:JMX_PORT format.
For example, BW_JMX_CONFIG=192.168.99.100:8050 |
BW_JAVA_GC_OPTS | -XX:+UseG1GC | Used to set JAVA GC configuration. The value should be one of the standard Java GC VM Options.
For example: BW_JAVA_GC_OPTS=-XX:+UseParallelGC |
DISABLE_BWCE_EAR_VALIDATION | False | Used to deploy the ActiveMatrix BusinessWorks 6.x application EAR file on TIBCO BusinessWorks Container Edition without converting project to Container Edition and rebuilding EAR file from TIBCO Business Studio for BusinessWorks |
BREAK_CIRCUIT_ON_404_ERROR | True | Used to change the behavior of the Circuit Breaker functionality. By default, circuit breaks for 404 (Not Found) error code.
It does not break the circuit for 404 error code on specifying the value of the variable as false. |
SPRING_CLOUD_CONFIG_SERVER_URL | n/a | Used to set URL for Spring Cloud Config Server.
For example: |
SPRING_CLOUD_CONFIG_ACCESS_TOKEN_URI | n/a | Used to set OAuth access token URL for Spring Cloud Config Server, if OAuth is enabled. |
SPRING_CLOUD_CONFIG_CLIENT_ID | n/a | Used to set OAuth client ID for Spring Cloud Config Server, if OAuth is enabled. |
SPRING_CLOUD_CONFIG_CLIENT_SECRET | n/a | Used to set OAuth client secret for Spring Cloud Config Server, if OAuth is enabled. |
CUSTOM_LOG_BACK | False | Used for customizing logs. |
AWS_ACCESS_KEY | n/a | It is the access key used to acess the AWS account from where the parameters are required to be fetched. |
AWS_SECRET_KEY | n/a | It is the secret key used to acess the AWS account from where the parameters are required to be fetched. |
AWS_REGION | n/a | It is the region of your AWS account. |
BW_COMPONENT_JOB_FLOWLIMIT | n/a | Used to set flow limit at component level for TIBCO BusinessWorks™ Container Edition application.
For example, BW_COMPONENT_JOB_FLOWLIMIT=<applicationn version>.componentName |
X_CONSUL_TOKEN | n/a | Used to authenticate the request made to the Consul server. |
CYBERARK | true | Set to use Cyberark as the credential management system. |
AWS_SECRET_MANAGER | true | Set to use AWS Secret Manager as the credential management system. |
CONJUR_ACCOUNT | n/a | The account specified during setting up Conjur. |
CONJUR_APPLIANCE_URL | n/a | It is the Conjur HTTPS enpoint (OSS/DAP). |
CONJUR_AUTHN_LOGIN | n/a | It is the user or host identity. |
CONJUR_AUTHN_API_KEY | n/a | It is the user or host API Key. |
AWS_ROLE_ARN | n/a | This is required to use assumeRole for authentication. The Amazon Resource Name (ARN) of the role to assume. |
AWS_ROLE_SESSION_NAME | n/a | This environment variable is required to use assumeRole for authentication. An identifier for the assumed role session is used to uniquely identify a session when the same role is assumed by different principals or for different reasons. Please refer to AWS documentation for further details on RoleSessionName. |
AWS_EXTERNAL_ID | n/a | Optional. A unique identifier that is required when you assume a role in another account. It is used to address the confused deputy problem. |
AWS_EXPIRATION_DURATION (ms) | n/a | Optional. Parameter to specify the duration in minutes for which the temporary security credentials remain valid using AssumeRole. |
CYBERARK_KEYSTORE_PATH | n/a | The location of the JKS file. |
CYBERARK_KEYSTORE_PASSWORD | n/a | The password of the JKS file. |