31 lines
814 B

  1. description: "Gitlab Server"
  2. maintainer: "Valentin Lab <valentin.lab@kalysto.org>"
  3. ## XXXvlab: docker uses the 'build' directory or the 'image:' option here.
  4. docker-image: gitlab/gitlab-ce:latest
  5. docker-compose:
  6. ports:
  7. - "5022:22"
  8. data-resources:
  9. - /var/opt/gitlab
  10. - /var/log/gitlab
  11. config-resources:
  12. - /etc/gitlab
  13. uses:
  14. log-rotate:
  15. #constraint: required | recommended | optional
  16. #auto: pair | summon | none ## default: pair
  17. constraint: recommended
  18. auto: pair
  19. solves:
  20. disk-leak: "/var/log/gitlab"
  21. web-proxy:
  22. #constraint: required | recommended | optional
  23. #auto: pair | summon | none ## default: pair
  24. constraint: recommended
  25. auto: pair
  26. solves:
  27. proxy: "Public access"
  28. default-options:
  29. target: !var-expand ${MASTER_BASE_SERVICE_NAME}:80