Service Configuration
The Cloud Provider Ranker comes with two default rules files embedded in the jar.
You can provide custom rules, external to the jar, specifying their paths in the application.properties file, using the list field rule-engine.rules
, e.g.:
Note that you can provide a custom application.properties
file using the environment variable SPRING_CONFIG_LOCATION
:
If you are using the docker image, you have to bind-mount the configuration and rules files.
For example, if you are using the properties above, you could create the folder config
with the application.properties and the rules files:
and then run the container as follows:
Last updated