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.

47 lines
1.1 KiB

  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. ## based on gitea/gitea:1.14.2
  5. docker-image: docker.0k.io/gitea:1.14.2
  6. docker-compose:
  7. ports:
  8. - "5022:22"
  9. # environment:
  10. # - USER_UID=1000
  11. # - USER_GID=1000
  12. data-resources:
  13. - /data
  14. # default-options:
  15. # config: |
  16. provides:
  17. vcs-manager:
  18. uses:
  19. log-rotate:
  20. constraint: recommended
  21. auto: pair
  22. solves:
  23. disk-leak: "/data"
  24. postgres-database:
  25. #constraint: required | recommended | optional
  26. #auto: pair | summon | none ## default: pair
  27. constraint: optional
  28. auto: pair
  29. solves:
  30. database: "main storage"
  31. web-proxy:
  32. #constraint: required | recommended | optional
  33. #auto: pair | summon | none ## default: pair
  34. constraint: recommended
  35. auto: pair
  36. solves:
  37. proxy: "Public access"
  38. default-options:
  39. target: !var-expand ${MASTER_BASE_SERVICE_NAME}:3000
  40. backup:
  41. constraint: recommended
  42. auto: pair
  43. solves:
  44. backup: "Automatic regular backup"