I want to launch my spring-boot application after a cf push
with a custom profile named my_profile
, but the app is always launched with the default one cloud
profile. How can I specify the exact profile to load?
I already tried to add the environment variable in the manifest.yml like this:
env:
SPRING_PROFILES_ACTIVE: my_profile
But the application was load with both profiles (cloud
& my_profile
)
Do you have a solution to load juste my custom profile and not integrate the default one?