template.yaml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. ---
  2. kind: compose
  3. metadata:
  4. name: GitLab
  5. description: >
  6. GitLab is a web-based DevOps lifecycle tool that provides a Git repository
  7. manager providing wiki, issue-tracking, and CI/CD pipeline features, using
  8. an open-source license, developed by GitLab Inc.
  9. Project: https://about.gitlab.com/
  10. Source: https://gitlab.com/gitlab-org/gitlab
  11. Documentation: https://docs.gitlab.com/
  12. version: 18.3.1-ce.0
  13. author: Christian Lempa
  14. date: '2025-09-28'
  15. tags:
  16. - git
  17. - devops
  18. - ci-cd
  19. spec:
  20. general:
  21. vars:
  22. external_url:
  23. type: string
  24. description: External URL for GitLab (e.g., https://gitlab.example.com)
  25. default: 'https://gitlab.example.com'
  26. ssh_port:
  27. type: int
  28. description: SSH port for Git operations
  29. default: 2424
  30. ports:
  31. vars:
  32. ports_enabled:
  33. description: Expose HTTP/HTTPS ports (disabled if using Traefik)
  34. ports_http:
  35. type: int
  36. description: HTTP port (disabled if using Traefik)
  37. default: 80
  38. ports_https:
  39. type: int
  40. description: HTTPS port (disabled if using Traefik)
  41. default: 443
  42. registry:
  43. description: GitLab Container Registry configuration
  44. required: false
  45. toggle: registry_enabled
  46. vars:
  47. registry_enabled:
  48. type: bool
  49. description: Enable GitLab Container Registry
  50. default: false
  51. registry_external_url:
  52. type: string
  53. description: External URL for Container Registry
  54. default: 'https://registry.example.com'
  55. registry_hostname:
  56. type: string
  57. description: Hostname for Container Registry (when using Traefik)
  58. default: registry.example.com
  59. registry_port:
  60. type: int
  61. description: Internal port for Container Registry
  62. default: 5678