check whether databasedotcom.yml file exists - otherwise try to use environment variables