This page looks best with JavaScript enabled

Self hosting gitea

 ·  ☕ 1 min read  ·  ✍️ Colin Diem

I decided to start self-hosting my code

I setup gitea on my raspberry pi 4 this evening to try hosting my own code repository for fun. Setup went alright. Configuring postgres took a bit, and after I installed gitea, it wasn’t working, I couldn’t connect to the server. I poked around for a while, and eventually realized that along the way to finding a solution, I had started trying to connect on localhost on my desktop, which was never going to work since gitea was hosted on my raspberry pi. When I switched over to the correct URL it was working again. Now that I’m thinking about it, I think after the install, it tried to redirect me back to localhost:3000, which wasn’t correct. It would probably have been working fine if I had happened to notice that in the beginning. Oh well, I got to poke around in the app.ini more than I probably would have otherwise, so no big loss.

Share on

Colin Diem
WRITTEN BY
Colin Diem
Software Engineer, Amateur Philosopher