by Gitea

Version 1.12.2

OS Ubuntu 20.04

Create Gitea Droplet


Gitea is a painless self-hosted Git service, which allows for programmers to collaboratively develop software. It is similar to GitHub, Bitbucket, and GitLab.

Software Included

Getting started after deploying Gitea

In addition to the package installation, the One-Click also:

  • Enables the UFW firewall to allow only SSH (port 22, rate limited), HTTP (port 80), and HTTPS (port 443) access.

Once Droplet has been created, please modify values in /var/lib/gitea/conf/app.ini to insert your DOMAIN. The password for the gitea_admin user is located in /root/.digitalocean_password please use this to connect to your Gitea install at http://${IP}/ and login to create your new user.

To upgrade, first make a backup of your data, then run the /usr/bin/ script.

API Creation

In addition to creating a Droplet from the Gitea 1-Click App via the control panel, you can also use the DigitalOcean API.

As an example, to create a 4GB Gitea Droplet in the SFO2 region, you can use the following curl command. You’ll need to either save your API access token to an environment variable or substitute it into the command below.

  curl -X POST -H 'Content-Type: application/json' \
       -H 'Authorization: Bearer '$TOKEN'' -d \
      '{"name":"choose_a_name","region":"sfo2","size":"s-2vcpu-4gb","image":"gitea-18-04"}' \

Support Details

Support URL:

More DigitalOcean Links

DigitalOcean Community

Developers supporting developers

Ask a Question

Ask anything related to system administration, programming, devops, open source, or the DigitalOcean platform.

List your 1-Click App in the DigitalOcean Marketplace

Partner with us to build traction for your open source project or software company