Java Spring with multiple profiles

quartze
HOBBY

5 months ago

Hello, Im trying to deploy Java application with default 'dev' profile and secondary 'railway' profile. The railway one is set to connect to services via link. I got problem with switching profiles with variable SPRING_PROFILES_ACTIVE. I set it to railway, but application still taking my first default profile. Anyone know how to fix it?

0 Replies

quartze
HOBBY

5 months ago

N/A