Bug 864531 - Move DB settings to environment variables