Skip to content

Template · Dev tools

Gitea

Lightweight self-hosted Git service with PostgreSQL.

Deploy on Skiffly

Opens the dashboard with this template pre-selected. Sign in with GitHub if you are new; the free tier needs no card.

  • Postgrespostgres:17
  • Giteagitea/gitea:1.24
Upstream documentation

What gets deployed

2 services in the environment you pick, on the private network of the project.

About this template

gitea/gitea:1.24 + PostgreSQL 17. HTTP only (SSH clone is not exposed). Finish setup on the public URL.

Postgres

Image: postgres:17

  • Port 5432/tcp
  • 10 GB volume at /var/lib/postgresql/data
  • 1 vCPU · 1 GB

Gitea

Image: gitea/gitea:1.24

  • Port 3000/http
  • Public domain with TLS
  • 10 GB volume at /data
  • 1 vCPU · 1 GB
  • /api/healthz

Variables

Generated secrets never leave the platform; references are resolved on the private network. Anything marked required is asked for at deploy time.

Postgres

NameValue
POSTGRES_USERpostgresSuperuser name
POSTGRES_PASSWORDgenerated (password)Generated at deploy
POSTGRES_DBgiteaDatabase created on first start
PGDATA/var/lib/postgresql/data/pgdata
DATABASE_URLpostgresql://${{self.POSTGRES_USER}}:${{self.POSTGRES_PASSWORD}}@${{self.SKIFFLY_PRIVATE_DOMAIN}}:5432/${{self.POSTGRES_DB}}Connection string on the private network

Gitea

NameValue
GITEA__database__DB_TYPEpostgres
GITEA__database__HOST${{Postgres.SKIFFLY_PRIVATE_DOMAIN}}:5432
GITEA__database__NAME${{Postgres.POSTGRES_DB}}
GITEA__database__USER${{Postgres.POSTGRES_USER}}
GITEA__database__PASSWD${{Postgres.POSTGRES_PASSWORD}}
GITEA__server__ROOT_URLhttps://${{self.SKIFFLY_PUBLIC_DOMAIN}}/
GITEA__server__DOMAIN${{self.SKIFFLY_PUBLIC_DOMAIN}}
GITEA__server__HTTP_PORT3000
GITEA__server__DISABLE_SSHtrue
USER_UID1000
USER_GID1000

Deploy button for your README

Add a one-click deploy link to your repository or docs. Two variants: for light and dark backgrounds.

Deploy on SkifflyDeploy on Skiffly
Markdown · Light background
[![Deploy on Skiffly](https://skiffly.dev/button.svg)](https://skiffly.dev/templates/gitea)
Markdown · Dark background
[![Deploy on Skiffly](https://skiffly.dev/button-dark.svg)](https://skiffly.dev/templates/gitea)
HTML
<a href="https://skiffly.dev/templates/gitea"><img src="https://skiffly.dev/button.svg" alt="Deploy on Skiffly" height="32"></a>

Deploy Gitea in one click

Volumes, secrets and domain pre-wired. Runs on EU nodes, paid per minute from a prepaid balance.