# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # Reposilite :: Shared # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # Repository id used in Maven repository configuration id: reposilite-repository # Repository title title: Maven Mirror # Repository description description: Maven Mirror # Link to organization's website organizationWebsite: https://reposilite.com # Link to organization's logo organizationLogo: https://avatars.githubusercontent.com/u/88636591 # The Internet Content Provider License (also known as Bei'An) # Web services in China require ICP license, a permit issued by the Chinese government to permit China-based websites to operate in China. # In order to fulfill the conditions, you should apply for ICP license from your service provider and fill in this parameter. icpLicense: "" # Enable default frontend with dashboard frontend: true # Enable Swagger (/swagger-docs) and Swagger UI (/swagger) swagger: false # Custom base path basePath: / # List of supported Maven repositories repositories { releases { visibility: PUBLIC redeployment: false preserved: -1 storageProvider: fs --quota 100% proxied: [ https://repo.maven.apache.org/maven2 --store --connectTimeout=3 --readTimeout=15 https://repo1.maven.org/maven2 --store --connectTimeout=3 --readTimeout=15 https://oss.sonatype.org/content/repositories/snapshots --store --connectTimeout=3 --readTimeout=15 https://packages.confluent.io/maven/ --store --connectTimeout=3 --readTimeout=15 https://registry.quarkus.io/maven --store --connectTimeout=3 --readTimeout=15 https://plugins.gradle.org/m2/ --store --connectTimeout=3 --readTimeout=15 ] } } # Statistics module configuration statistics { # How often Reposilite should divide recorded requests into separated groups. # With higher precision you can get more detailed timestamps, but it'll increase database size. # It's not that important for small repos with low traffic, but public instances should not use daily interval. # Available modes: daily, weekly, monthly, yearly resolvedRequestsInterval: monthly } # LDAP configuration ldap { # LDAP Authenticator is enabled enabled: false # LDAP server address hostname: ldap.domain.com # LDAP server port port: 389 # Base DN with users baseDn: dc=company,dc=com # User used to perform searches in LDAP server (requires permissions to read all LDAP entries) searchUserDn: cn=reposilite,ou=admins,dc=domain,dc=com # Search user's password searchUserPassword: reposilite-admin-secret # Attribute in LDAP that represents unique username used to create access token userAttribute: cn # LDAP user filter userFilter: (&(objectClass=person)(ou=Maven Users)) # Should the created through LDAP access token be TEMPORARY or PERSISTENT userType: PERSISTENT } # Any kind of proxy services change real ip. # The origin ip should be available in one of the headers. # Nginx: X-Forwarded-For # Cloudflare: CF-Connecting-IP # Popular: X-Real-IP forwardedIp: X-Forwarded-For