template.yaml 1.5 KB

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