template.yaml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. gitea_ssh_port:
  40. description: "SSH port number (should match ports_ssh)"
  41. type: int
  42. default: 2221
  43. user_uid:
  44. description: "User UID for Gitea process"
  45. type: int
  46. default: 1000
  47. user_gid:
  48. description: "User GID for Gitea process"
  49. type: int
  50. default: 1000