Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

85 rindas
2.8KB

  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. }
  45. # Statistics module configuration
  46. statistics {
  47. # How often Reposilite should divide recorded requests into separated groups.
  48. # With higher precision you can get more detailed timestamps, but it'll increase database size.
  49. # It's not that important for small repos with low traffic, but public instances should not use daily interval.
  50. # Available modes: daily, weekly, monthly, yearly
  51. resolvedRequestsInterval: monthly
  52. }
  53. # LDAP configuration
  54. ldap {
  55. # LDAP Authenticator is enabled
  56. enabled: false
  57. # LDAP server address
  58. hostname: ldap.domain.com
  59. # LDAP server port
  60. port: 389
  61. # Base DN with users
  62. baseDn: dc=company,dc=com
  63. # User used to perform searches in LDAP server (requires permissions to read all LDAP entries)
  64. searchUserDn: cn=reposilite,ou=admins,dc=domain,dc=com
  65. # Search user's password
  66. searchUserPassword: reposilite-admin-secret
  67. # Attribute in LDAP that represents unique username used to create access token
  68. userAttribute: cn
  69. # LDAP user filter
  70. userFilter: (&(objectClass=person)(ou=Maven Users))
  71. # Should the created through LDAP access token be TEMPORARY or PERSISTENT
  72. userType: PERSISTENT
  73. }
  74. # Any kind of proxy services change real ip.
  75. # The origin ip should be available in one of the headers.
  76. # Nginx: X-Forwarded-For
  77. # Cloudflare: CF-Connecting-IP
  78. # Popular: X-Real-IP
  79. forwardedIp: X-Forwarded-For