Change database config to use environmental variables