Gitea - Lightweight Git service
Everything you need to deploy Gitea with BlastDock
One command deployment
Production-ready security
Customizable settings
Ready to scale up
blastdock init
Initialize new project
blastdock deploy
Deploy the application
blastdock status
Check deployment status
blastdock logs
View application logs
Get Gitea up and running in minutes with our one-click installation.
First, install BlastDock using pip (recommended):
pip install blastdock
Then deploy Gitea with:
blastdock init gitea
Interactive mode:
blastdock init gitea -i
blastdock templates
List available templates
blastdock status project
Check deployment status
blastdock logs project
View application logs
blastdock stop project
Stop deployment
Customize your Gitea installation with these configuration options.
HTTP port
SSH port
Database password
Application name
Domain for Gitea
Complete Docker Compose configuration for Gitea deployment.
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