Right now, to configure the application we simply add something to the env variables through the docker compose and spring picks up on it.
That being said, the application should be able to load any config within it's immediate vicinity. This config should be exclusively YML. Additionally, the config should have an autogenerated, tested schema (https://github.com/FasterXML/jackson-module-jsonSchema).
The app should look for config.yml in the local directory.
See @DynamicPropertySource about this.
Right now, to configure the application we simply add something to the env variables through the docker compose and spring picks up on it.
That being said, the application should be able to load any config within it's immediate vicinity. This config should be exclusively YML. Additionally, the config should have an autogenerated, tested schema (https://github.com/FasterXML/jackson-module-jsonSchema).
The app should look for config.yml in the local directory.
See @DynamicPropertySource about this.