選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

94 行
3.0KB

  1. # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #
  2. # Reposilite :: Shared #
  3. # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #
  4. # Repository id used in Maven repository configuration
  5. id: reposilite-repository
  6. # Repository title
  7. title: Maven Mirror
  8. # Repository description
  9. description: Maven Mirror
  10. # Link to organization's website
  11. organizationWebsite: https://reposilite.com
  12. # Link to organization's logo
  13. organizationLogo: https://avatars.githubusercontent.com/u/88636591
  14. # The Internet Content Provider License (also known as Bei'An)
  15. # Web services in China require ICP license, a permit issued by the Chinese government to permit China-based websites to operate in China.
  16. # In order to fulfill the conditions, you should apply for ICP license from your service provider and fill in this parameter.
  17. icpLicense: ""
  18. # Enable default frontend with dashboard
  19. frontend: true
  20. # Enable Swagger (/swagger-docs) and Swagger UI (/swagger)
  21. swagger: false
  22. # Custom base path
  23. basePath: /
  24. # List of supported Maven repositories
  25. repositories {
  26. releases {
  27. visibility: PUBLIC
  28. redeployment: false
  29. preserved: -1
  30. storageProvider: fs --quota 100%
  31. proxied: [
  32. https://repo.maven.apache.org/maven2 --store --connectTimeout=3 --readTimeout=15
  33. ]
  34. }
  35. snapshots {
  36. visibility: PUBLIC
  37. redeployment: false
  38. preserved: -1
  39. storageProvider: fs --quota 100%
  40. proxied: [
  41. https://oss.sonatype.org/content/repositories/snapshots --store --connectTimeout=3 --readTimeout=15
  42. ]
  43. }
  44. confluent {
  45. visibility: PUBLIC
  46. redeployment: false
  47. preserved: -1
  48. storageProvider: fs --quota 100%
  49. proxied: [
  50. https://packages.confluent.io/maven/ --store --connectTimeout=3 --readTimeout=15
  51. ]
  52. }
  53. }
  54. # Statistics module configuration
  55. statistics {
  56. # How often Reposilite should divide recorded requests into separated groups.
  57. # With higher precision you can get more detailed timestamps, but it'll increase database size.
  58. # It's not that important for small repos with low traffic, but public instances should not use daily interval.
  59. # Available modes: daily, weekly, monthly, yearly
  60. resolvedRequestsInterval: monthly
  61. }
  62. # LDAP configuration
  63. ldap {
  64. # LDAP Authenticator is enabled
  65. enabled: false
  66. # LDAP server address
  67. hostname: ldap.domain.com
  68. # LDAP server port
  69. port: 389
  70. # Base DN with users
  71. baseDn: dc=company,dc=com
  72. # User used to perform searches in LDAP server (requires permissions to read all LDAP entries)
  73. searchUserDn: cn=reposilite,ou=admins,dc=domain,dc=com
  74. # Search user's password
  75. searchUserPassword: reposilite-admin-secret
  76. # Attribute in LDAP that represents unique username used to create access token
  77. userAttribute: cn
  78. # LDAP user filter
  79. userFilter: (&(objectClass=person)(ou=Maven Users))
  80. # Should the created through LDAP access token be TEMPORARY or PERSISTENT
  81. userType: PERSISTENT
  82. }
  83. # Any kind of proxy services change real ip.
  84. # The origin ip should be available in one of the headers.
  85. # Nginx: X-Forwarded-For
  86. # Cloudflare: CF-Connecting-IP
  87. # Popular: X-Real-IP
  88. forwardedIp: X-Forwarded-For