Externalize Configuration File

Can we externalize Config file like application.properties as we can do using Spring Cloud Config Server in case of Spring cloud Application.

We basically wanted to externalize all our configuration files and if i make any changes in config files from different server then changes gets reflected in our playframework based microservices without restarting system

I think this is what you are looking for: https://www.playframework.com/documentation/2.7.x/ConfigFile#Specifying-an-alternative-configuration-file
you have to pass -Dconfig.file=/path/to/application.conf when starting your Play application.

1 Like