template.yaml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. ---
  2. kind: compose
  3. metadata:
  4. name: Gitea
  5. description: >
  6. Self-hosted Git service with web interface. Gitea is a painless, self-hosted Git service
  7. written in Go. It's similar to GitHub, Bitbucket, and GitLab, providing Git repository
  8. hosting, code review, team collaboration, and more.
  9. Project: https://gitea.io/
  10. Documentation: https://docs.gitea.io/
  11. GitHub: https://github.com/go-gitea/gitea
  12. version: 1.24.5
  13. author: Christian Lempa
  14. date: '2025-10-02'
  15. tags:
  16. - git
  17. - version-control
  18. - development
  19. spec:
  20. database:
  21. required: true
  22. ports:
  23. vars:
  24. ports_http:
  25. description: "Host port for HTTP web interface"
  26. type: int
  27. default: 3000
  28. ports_ssh:
  29. description: "Host port for SSH Git access"
  30. type: int
  31. default: 2221
  32. gitea:
  33. description: "Configure Gitea application settings"
  34. required: true
  35. vars:
  36. gitea_root_url:
  37. description: "Public URL for your Gitea instance (e.g., https://git.example.com)"
  38. type: str
  39. default: "https://git.example.com"
  40. gitea_ssh_port:
  41. description: "SSH port number (should match ports_ssh)"
  42. type: int
  43. default: 2221
  44. user_uid:
  45. description: "User UID for Gitea process"
  46. type: int
  47. default: 1000
  48. user_gid:
  49. description: "User GID for Gitea process"
  50. type: int
  51. default: 1000