template.yaml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. general:
  21. vars:
  22. service_name:
  23. default: "gitea"
  24. container_name:
  25. default: "gitea"
  26. database:
  27. required: true
  28. vars:
  29. database_type:
  30. default: "postgres"
  31. database_name:
  32. default: "gitea"
  33. database_user:
  34. default: "gitea"
  35. ports:
  36. vars:
  37. ports_http:
  38. description: "Host port for HTTP web interface"
  39. type: int
  40. default: 3000
  41. ports_ssh:
  42. description: "Host port for SSH Git access"
  43. type: int
  44. default: 2221
  45. traefik:
  46. vars:
  47. traefik_host:
  48. default: gitea.home.arpa
  49. gitea:
  50. description: "Configure Gitea application settings"
  51. required: true
  52. vars:
  53. gitea_root_url:
  54. description: "Public URL for your Gitea instance (e.g., https://git.example.com)"
  55. type: str
  56. default: "https://git.example.com"
  57. gitea_ssh_port:
  58. description: "SSH port number (should match ports_ssh)"
  59. type: int
  60. default: 2221