Gitea
A lightweight place to keep your code.
What it is
Gitea is a self-hosted Git service — repositories, issues, pull requests, and a web interface, much like GitHub but running on your own server and answerable to nobody else's terms of service.
It is deliberately small: it runs comfortably in a fraction of the memory the alternatives need.
Good for
- Private repositories without a per-seat bill
- Keeping source code in Canada
- A small team's issue tracker
Getting in
- Open the link on your console page and sign in with the credentials shown.
- Create a repository.
- Add your SSH public key under Settings so you can push without a password.
Your own address, port and any credentials are on your server's console page, reached from your dashboard. They are specific to your server, so they are not repeated here.
Things that catch people out
Pushing over SSH uses your server's SSH port
Not port 22 — the port on your console page. Gitea's clone URLs may show the default, so check before you copy one.
Change the admin password on first login
The one we generated for you is on the console page and should not stay in use.
Where your data lives
Repositories and the database live in Docker volumes under /opt/gitea.
Take a snapshot before anything risky — see Snapshots and backups.
Updating
Ubuntu patches itself, but the app does not. SSH in and run:
Take a snapshot first.