Cloud VPS from $1.98/mo · pay with Bitcoin, Ethereum, Monero, USDT or Solana · paid in crypto

Gogs on a VPS

Gogs is a small, MIT-licensed Git service written in Go: repositories, issues, pull requests and webhooks in one binary that needs very little memory.

512 MBMinimum memory
Ubuntu 24.04 LTSBase image
3000/tcp, 22/tcpPorts
MITLicense

About Gogs

Gogs is the Go-based Git service that Gitea originally forked from. It serves repositories over SSH and HTTP with Git LFS, and adds issues, pull requests, protected branches, webhooks and a REST API. Its code is MIT-licensed.

The project names 2 CPU cores and 512 MB of RAM as a baseline for teamwork, so even the entry Cloud VPS plans fit. Pick a region near your developers and keep port 3000 behind a reverse proxy with HTTPS.

Gogs then shows its install page on port 3000.

What you get with Gogs

  • Git over SSH and HTTP, with Git LFS
  • Issues, pull requests and protected branches
  • Webhooks and a REST API
  • PostgreSQL, MySQL or SQLite3 storage
  • LDAP sign-in and two-factor authentication

Gogs use cases

  • A Git server on the smallest possible plan
  • Private repositories for a solo developer or a few friends
  • Lightweight mirrors and backups of repositories

After you deploy Gogs

  1. With the console showing Running, browse to http://<server IP>:3000 to load the install page.
  2. Choose SQLite3 for a small setup, set the domain and application URL, and fill in the admin account section; otherwise the first registered user becomes admin.
  3. Add your public key in your user settings and push a first repository over SSH.
  4. Put Gogs behind HTTPS on your own domain, then update the application URL to match.

Gogs ports

Open these in your firewall if you use one: 3000/tcp web, 22/tcp Git over SSH.

Gogs FAQ

Should I pick Gogs or Gitea?

Gogs stays deliberately small and moves slowly; Gitea began as a Gogs fork and now ships more features, such as built-in CI. Choose Gogs when the lightest footprint matters most.

Can Gogs use the server's own SSH daemon?

Yes. By default Gogs registers keys with the system SSH server for its run user, so clones use port 22; its built-in SSH server is an option when you want Git on a separate port.

Disclaimer. The Gogs project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.

Gogs on your own server.
Ready in under 5 minutes.

Pick a region and a size; the console shows the address as soon as it is up.

Every server delivered in under 5 minutesPay with crypto14-day money-back