I had this code for reading from external yml in p...
# general
p
I had this code for reading from external yml in production, in the Application.groovy:
Copy code
if (environment == Environment.PRODUCTION.name) {
            System.setProperty("spring.config.location", "/opt/my_app/conf/")
            System.setProperty("spring.config.name", "my-service-config")
        }
Any recommendations on another place to place this code, or another approach? Thanks