Configurating application properties for Cloud deployments
You can externalize the configuration of application’s properties outside the application image for Cloud environments. For example, to externalize the configuration of the key log.level in the logging configuration property file (loggerconfig.properties), use the following syntax:
# The below configuration is for controlling the logging level.
# Possible values are - debug, error, info, fatal, warn, off. Default if not provided # is "debug".
log.level = ${env.ARX_LOG_LEVEL}
In the YAML file of the docker, the value of the above place holder can be specified. For example,
spec:
containers:
- name: applicationcontainer
image: server_ip:port/docker_image_path:xyz-http.3
env:
- name: ARX_LOG_LEVEL
value: debug
Â