Retirement tax questions

If I have a Solo Roth 401K and an Roth IRA and Income from business is 8,000. I have savings outside retirement accounts from previous years of working. My question is can contribute 8,000 to my solo 401K and then 5,500 to my IRA or does solo 401k contributions affect IRA limits? Meaning if I contribute 5,500 to Roth IRA, I can only contribute 2,500 to solo Roth 401K?