I like setting and overriding Spring Boot app configuration using environment variables.
I got tired of creating them by hand, so I created a little web app to generate them from Spring Boot YAML according to the relaxed-binding naming rules.
foo-bar:
baz:
- value1
- value2
enabled: false
becomes
FOOBAR_BAZ_0_=value1
FOOBAR_BAZ_1_=value2
FOOBAR_ENABLED=false
Please try it and share it!
Hope it helps you too!