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.

60 lines
1.5 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. #app-name: "Gitea: Git with a cup of tea"
  17. service:
  18. #disable_registration: false
  19. #require-signin-view: false
  20. #register-email-confirm: false
  21. #enable-notify-mail: false
  22. #allow-only-external-registration: false
  23. #enable-captcha: false
  24. #default-keep-email-private: false
  25. #default-allow-create-organization: true
  26. #default-enable-timetracking: true
  27. #no-reply-address: noreply.example.org
  28. provides:
  29. vcs-manager:
  30. uses:
  31. log-rotate:
  32. constraint: recommended
  33. auto: pair
  34. solves:
  35. disk-leak: "/data"
  36. postgres-database:
  37. #constraint: required | recommended | optional
  38. #auto: pair | summon | none ## default: pair
  39. constraint: optional
  40. auto: pair
  41. solves:
  42. database: "main storage"
  43. web-proxy:
  44. #constraint: required | recommended | optional
  45. #auto: pair | summon | none ## default: pair
  46. constraint: recommended
  47. auto: pair
  48. solves:
  49. proxy: "Public access"
  50. default-options:
  51. target: !var-expand ${MASTER_BASE_SERVICE_NAME}:3000
  52. backup:
  53. constraint: recommended
  54. auto: pair
  55. solves:
  56. backup: "Automatic regular backup"