Gitea
Gitea
by Gitea

VERSION 1.8.2

OS Ubuntu 18.04

Create Gitea Droplet

Description

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

PackageVersionLicense
Gitea1.8.2MIT

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.

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

Support Details

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

Learn More

Product Docs

Technical overviews, how-tos, release notes, and support material

Tutorials

DevOps and development guidelines

API Docs

Run your resources programmatically

Ask a question

Connect, share and learn