Move database config to envvars.