25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

80 lines
2.9KB

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