Gitea
Gitea
by Gitea

Version 1.14.1

OS Ubuntu 20.04

DEVELOPER TOOLS

Description

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), HTTPS (port 443), and Alt-SSH (port 22022) access.

Once Droplet has been created, please modify values in /var/snap/gitea/common/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.

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), HTTPS (port 443), and Alt-SSH (port 22022) access.

Once Droplet has been created, please modify values in /var/snap/gitea/common/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.

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-20-04"}' \
      "https://api.digitalocean.com/v2/droplets"
      

Support Details

Supported By:Gitea
Support URL:https://docs.gitea.io/en-us/seek-help/