Moved the database settings to environment variables