fork 0k-charms
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
960 B

  1. description: "Gitea Server"
  2. maintainer: "Valentin Lab <valentin.lab@kalysto.org>"
  3. ## XXXvlab: docker uses the 'build' directory or the 'image:' option here.
  4. docker-image: docker.0k.io/gitea
  5. docker-compose:
  6. ports:
  7. - "5022:22"
  8. # environment:
  9. # - USER_UID=1000
  10. # - USER_GID=1000
  11. data-resources:
  12. - /data
  13. # default-options:
  14. # config: |
  15. provides:
  16. vcs-manager:
  17. uses:
  18. log-rotate:
  19. constraint: recommended
  20. auto: pair
  21. solves:
  22. disk-leak: "/data"
  23. postgres-database:
  24. #constraint: required | recommended | optional
  25. #auto: pair | summon | none ## default: pair
  26. constraint: optional
  27. auto: pair
  28. solves:
  29. database: "main storage"
  30. web-proxy:
  31. #constraint: required | recommended | optional
  32. #auto: pair | summon | none ## default: pair
  33. constraint: recommended
  34. auto: pair
  35. solves:
  36. proxy: "Public access"
  37. default-options:
  38. target: !var-expand ${MASTER_BASE_SERVICE_NAME}:3000