Set database config from secrets