Gitea

Gitea - Lightweight Git service

3000
Default Port
2
Services
18.5/20
Complexity
Medium
Memory Usage
Configuration

Installation Command

blastdock init gitea

Template Overview

Everything you need to deploy Gitea with BlastDock

Quick Deploy

One command deployment

Secure

Production-ready security

Configurable

Customizable settings

Scalable

Ready to scale up

What's Included

Gitea
gitea/gitea:latest
Postgresql
postgres:14-alpine
Categories
Other
Security Features
Password Protection
Resource Requirements
CPU: Medium, Memory: Medium , Storage Required

Quick Commands

blastdock init Initialize new project
blastdock deploy Deploy the application
blastdock status Check deployment status
blastdock logs View application logs

Quick Installation

Get Gitea up and running in minutes with our one-click installation.

BlastDock Installation

First, install BlastDock using pip (recommended):

Terminal
pip install blastdock

Then deploy Gitea with:

Terminal
blastdock init gitea

Interactive mode:

Terminal
blastdock init gitea -i

What's Included

Gitea
Container service
Postgresql
Container service

BlastDock Commands

blastdock templates List available templates
blastdock status project Check deployment status
blastdock logs project View application logs
blastdock stop project Stop deployment

Configuration Options

Customize your Gitea installation with these configuration options.

5
Required Fields
0
Optional Fields
1
Auto-Generated Passwords

Http Port

HTTP port

port
Default: 3000
Required: Yes

Ssh Port

SSH port

port
Default: 2222
Required: Yes

Db Password

Database password

password
Default: ••••••••••••
Required: Yes
Security: Auto-generated

App Name

Application name

string
Default: Gitea
Required: Yes

Domain

Domain for Gitea

domain
Default: localhost
Required: Yes

Docker Compose

Complete Docker Compose configuration for Gitea deployment.

2
Services
2
Volumes
1
Networks
2
Exposed Ports
docker-compose.yml
version: '3.8'

services:
  gitea:
    image: gitea/gitea:latest
    container_name: {{ project_name }}_gitea
    restart: unless-stopped
    depends_on:
      - postgresql
    ports:
      - "3000"
      - "22"
    environment:
      0: USER_UID=1000
      1: USER_GID=1000
      2: GITEA__database__DB_TYPE=postgres
      - GITEA__database__HOST=postgresql: 5432
      3: GITEA__database__NAME=gitea
      4: GITEA__database__USER=gitea
      5: GITEA__database__PASSWD={{ db_password }}
      6: GITEA__server__DOMAIN={{ domain }}
      - GITEA__server__ROOT_URL=http: //{{ domain }}:{{ http_port }}/
      7: GITEA__app_name={{ app_name }}
    volumes:
      - /data
    networks:
      - gitea_network

  postgresql:
    image: postgres:14-alpine
    container_name: {{ project_name }}_postgresql
    restart: unless-stopped
    environment:
      0: POSTGRES_USER=gitea
      1: POSTGRES_PASSWORD={{ db_password }}
      2: POSTGRES_DB=gitea
    volumes:
      - /var/lib/postgresql/data
    networks:
      - gitea_network

volumes:
  gitea_data:
    driver: local

  postgres_data:
    driver: local

networks:
  gitea_network:
    driver: bridge