Gitea: Self-Hosted Git Service
Deploy Gitea with Pigsty’s Compose template and connect it to external PostgreSQL.
Gitea is a lightweight open-source Git hosting platform.
Pigsty’s app/gitea template uses external PostgreSQL mode by default, configured via GITEA_DB_* values in .env.
Quick Start
Default endpoints:
- Web:
http://git.pigstyorhttp://<IP>:8889 - SSH:
<IP>:2222
Database Preparation
Connection string example:
Common Commands
References
- Gitea docs: https://docs.gitea.com/
- Pigsty template: https://github.com/pgsty/pigsty/tree/main/app/gitea
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)