Solution for yml file:
1.Copy yml to in same directory that jar application
2.Run command, example for xxx.yml
:
java -jar app.jar --spring.config.location=xxx.yml
It's works fine, but in startup logger is INFO:
No active profile set .........