I followed this guide: https://docs.gitea.com/next/installation/install-with-docker
I then followed this guide: https://docs.goauthentik.io/integrations/services/gitea/
I then followed this guide : https://easycode.page/gitea-setup-ssh-and-repository/
they were all relatively straightforward