5 ms·
What kind of machine (specs) would I need to run to self-host gitea with decent performance? Small container or EC2 instance (or droplet), etc should be enough?
by xwowsersx 4y ago
What kind of machine (specs) would I need to run to self-host gitea with decent performance? Small container or EC2 instance (or droplet), etc should be enough?
- xwowsersx 4y agoErr...I guess you sort of answered my question since you're running it on a raspberry pi :P Performance seems just fine? Curious to hear more about your experience. Thanks!
- sangnoir 4y agocaveat: the server only has a single user. Performance wise, pushing and pulling work as fast as any other git server (Though I don't have any hooks). The UI is snappy, though it can be sluggish when initially importing large projects. Out of the 2-dozen projects its handling, the only issue I encountered was the Pi choking while migrating a large project (github.com/huggingface/transformers): I suspect it was hitting an internal timeout when importing large LFS files (ML models). Fortunately, since it uses bare repos and a simple db schema, I performed the git clone operation manually and updated the SQLite db to enable the "mirror" flag & it's been happily syncing since.
- xwowsersx 4y agoNice, thanks for the details!
- DavideNL 4y agoI run it on a Raspberry Pi4 (as a Docker image, with automatic updates using WatchTower.) Of course performance depends on the size of your database and how many repos/files. I've configured it to use a sqlite3 database, which runs great.