Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

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