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.

95 lines
2.2 KiB

  1. summary: "Docker Registry"
  2. maintainer: "Valentin Lab <valentin.lab@kalysto.org>"
  3. inherit: base-0k
  4. description: |
  5. Docker Registry
  6. docker-image: docker.0k.io/registry:2.0
  7. data-resources:
  8. - /var/lib/docker-registry
  9. default-options:
  10. # log:
  11. # accesslog:
  12. # disabled: true
  13. # level: debug
  14. # formatter: text
  15. # fields:
  16. # service: registry
  17. # environment: staging
  18. # hooks:
  19. # - type: mail
  20. # disabled: true
  21. # levels:
  22. # - panic
  23. # options:
  24. # smtp:
  25. # addr: mail.example.com:25
  26. # username: mailuser
  27. # password: password
  28. # insecure: true
  29. # from: sender@example.com
  30. # to:
  31. # - errors@example.com
  32. # notifications:
  33. # endpoints:
  34. # - name: alistener
  35. # disabled: false
  36. # url: https://my.listener.com/event
  37. # headers: <http.Header>
  38. # timeout: 500
  39. # threshold: 5
  40. # backoff: 1000
  41. # ignoredmediatypes:
  42. # - application/octet-stream
  43. # health:
  44. # storagedriver:
  45. # enabled: true
  46. # interval: 10s
  47. # threshold: 3
  48. # file:
  49. # - file: /path/to/checked/file
  50. # interval: 10s
  51. # http:
  52. # - uri: http://server.to.check/must/return/200
  53. # headers:
  54. # Authorization: [Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==]
  55. # statuscode: 200
  56. # timeout: 3s
  57. # interval: 10s
  58. # threshold: 3
  59. # tcp:
  60. # - addr: redis-server.domain.com:6379
  61. # timeout: 3s
  62. # interval: 10s
  63. # threshold: 3
  64. # proxy:
  65. # remoteurl: https://registry-1.docker.io
  66. # username: [username]
  67. # password: [password]
  68. # compatibility:
  69. # schema1:
  70. # signingkeyfile: /etc/registry/key.json
  71. # validation:
  72. # enabled: true
  73. # manifests:
  74. # urls:
  75. # allow:
  76. # - ^https?://([^/]+\.)*example\.com/
  77. # deny:
  78. # - ^https?://www\.example\.com/
  79. uses:
  80. registry-auth:
  81. #constraint: required | recommended | optional
  82. constraint: recommended
  83. solves:
  84. unmanaged-auth: "Authentication is not managed"
  85. web-proxy:
  86. #constraint: required | recommended | optional
  87. constraint: recommended
  88. solves:
  89. proxy: "Public access"