← Back to catalog
Gitea

Gitea

v1.25.5

Lightweight self-hosted Git service with web interface

Install

$curl -fsSL https://virtua.sh/i/gitea | bash
No server?Virtua.Cloud →

What's included

  • Gitea 1.25.5 (fully configured, ready to use)
  • Built-in HTTPS via Let's Encrypt (for domain names)
  • SQLite by default, PostgreSQL and MySQL optional
  • Git SSH access on port 22
  • Systemd service with auto-restart

After install

  • Login at the URL shown with admin credentials
  • No setup wizard exposed to the internet
  • Create repositories and invite collaborators
  • Custom domain: GITEA_HOST=git.example.com
  • PostgreSQL: GITEA_DB_TYPE=postgres

Supported Operating Systems

Ubuntu 24Ubuntu 25Debian 12Debian 13Rocky 9Rocky 10Alma 9Alma 10

Requirements

RAM
512MB minimum
Disk
5GB minimum

Configuration

VariableDefaultDescription
GITEA_HOSTserver hostnameDomain name or IP. Domains get built-in HTTPS via Let's Encrypt.
GITEA_ADMIN_USERadminGitea admin username
GITEA_ADMIN_PASSrandom 24-charGitea admin password
GITEA_ADMIN_EMAILadmin@hostnameGitea admin email
GITEA_DB_TYPEsqlite3Database backend: sqlite3, postgres, or mysql
GITEA_DB_PASSrandom 24-charDatabase password (only used with postgres or mysql)

Changelog

v1.0.02026-04-02
  • Initial release with built-in HTTPS via Let's Encrypt
  • SQLite default, PostgreSQL and MySQL optional
  • CLI-based admin setup (no web wizard exposed)
  • Systemd service with auto-restart
  • Git SSH access on port 22