Corallium Studios
WebsiteFree template

Gitea Hosting

This free NautilusControl template sets up Gitea on ports 3000, 2222 with 512 MB of RAM recommended. This page covers the ports to open, hardware requirements, the Docker image, every setting you can change and step-by-step setup.

  • Version v1.0.0
  • Updated
  • 0 downloads
  • By Corallium Studios

Gitea at a glance

Category
Website (website)
Docker image
gitea/gitea:1.22-rootless
Default version
1.22
Ports
3000/TCP, 2222/TCP
RAM
512 MB
CPU
1 core
Disk
10 GB
Console
No console input
Template version
v1.0.0

Gitea server ports

Gitea built from this template listens on these 2 ports. Open them in your firewall so players and clients can connect.

PortProtocolUsed for
3000TCPHTTP Web UI
2222TCPSSH Git
Ubuntu firewall (ufw)
sudo ufw allow 3000/tcp
sudo ufw allow 2222/tcp

Gitea server requirements

512 MBRAM
1 coreCPU
10 GBDisk

These are the template's recommended starting values. Increase it as your traffic grows.

Run Gitea in Docker

The template uses the gitea/gitea:1.22-rootless image, default version 1.22. NautilusControl pulls it automatically; to fetch it yourself:

Pull the image
docker pull gitea/gitea:1.22-rootless
Start command
/usr/local/bin/gitea web

Gitea settings (environment variables)

You can change these when you create the server or later in its settings.

VariableDefaultWhat it does
GITEA__database__DB_TYPEsqlite3Database type: sqlite3, mysql, or postgres
GITEA__server__ROOT_URLrequiredhttp://localhost:3000/Public root URL of your Gitea instance
GITEA__server__SSH_PORT2222SSH port for Git operations

Files and folders

  • /var/lib/gitea — Data
  • /etc/gitea — Config

How to set up Gitea with NautilusControl

  1. Install NautilusControl

    Install the NautilusControl panel and agent on the machine that will run the server. The installation guide covers it, and the 14-day free trial includes 1 node and 5 servers.

  2. Import the Gitea template

    Download this template (a single JSON file) with the button above, then open Templates in NautilusControl and choose Import JSON.

  3. Create the server

    Create a new container and pick Gitea. NautilusControl pulls gitea/gitea:1.22-rootless, fills in the environment variables listed below, and creates the folders for you.

  4. Open the ports

    Allow ports 3000, 2222 through your firewall, and forward them on your router if people connect from outside your network.

  5. Start it

    Press Start and follow the startup log in the panel.

Server files come from gitea.io.

Notes

Lightweight self-hosted Git service — like a private GitHub. Uses SQLite by default.

Gitea FAQ

What ports does a Gitea site use?

This template uses ports 3000 (HTTP Web UI), 2222 (SSH Git). Open them in your firewall and forward them on your router if players connect from outside your network.

How much RAM does a Gitea site need?

The template recommends 512 MB of RAM, 1 core, 10 GB of disk space. Increase it as your traffic grows.

Can I run Gitea in Docker?

Yes. The template uses the Docker image gitea/gitea:1.22-rootless (default version 1.22). NautilusControl pulls it and creates the container for you.

Is the Gitea template free?

Yes. Every template in the Corallium Studios library is free to download. You need NautilusControl to deploy it; there is a 14-day free trial.