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.
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.
| Port | Protocol | Used for |
|---|---|---|
| 3000 | TCP | HTTP Web UI |
| 2222 | TCP | SSH Git |
sudo ufw allow 3000/tcp
sudo ufw allow 2222/tcpGitea server requirements
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:
docker pull gitea/gitea:1.22-rootless/usr/local/bin/gitea webGitea settings (environment variables)
You can change these when you create the server or later in its settings.
| Variable | Default | What it does |
|---|---|---|
| GITEA__database__DB_TYPE | sqlite3 | Database type: sqlite3, mysql, or postgres |
| GITEA__server__ROOT_URLrequired | http://localhost:3000/ | Public root URL of your Gitea instance |
| GITEA__server__SSH_PORT | 2222 | SSH port for Git operations |
Files and folders
/var/lib/gitea— Data/etc/gitea— Config
How to set up Gitea with NautilusControl
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.
Import the Gitea template
Download this template (a single JSON file) with the button above, then open Templates in NautilusControl and choose Import JSON.
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.Open the ports
Allow ports 3000, 2222 through your firewall, and forward them on your router if people connect from outside your network.
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.