.properties files. In my case I have two files prod.properties and dev.properties. Basically you just pass the name of the properties file.
Now you just need to pass custom VM option parameter when you start alfresco. For instance in Intellij IDEA you can create maven run configuration and specify this parameter there: