|
Added
Link Here
|
| 1 |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # |
| 2 |
# Reposilite :: Local # |
| 3 |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # |
| 4 |
|
| 5 |
# Local configuration contains init params for current Reposilite instance. |
| 6 |
# For more options, shared between instances, login to the dashboard with management token and visit 'Configuration' tab. |
| 7 |
|
| 8 |
# Hostname |
| 9 |
# The hostname can be used to limit which connections are accepted. |
| 10 |
# Use 0.0.0.0 to accept connections from anywhere. |
| 11 |
# 127.0.0.1 will only allow connections from localhost. |
| 12 |
hostname: 0.0.0.0 |
| 13 |
# Port to bind |
| 14 |
port: 8080 |
| 15 |
# Database configuration. Supported storage providers: |
| 16 |
# - mysql localhost:3306 database user password |
| 17 |
# - sqlite reposilite.db |
| 18 |
# - sqlite --temporary |
| 19 |
# Experimental providers (not covered with tests): |
| 20 |
# - postgresql localhost:5432 database user password |
| 21 |
# - h2 reposilite |
| 22 |
database: sqlite reposilite.db |
| 23 |
|
| 24 |
# Support encrypted connections |
| 25 |
sslEnabled: false |
| 26 |
# SSL port to bind |
| 27 |
sslPort: 443 |
| 28 |
# Key file to use. |
| 29 |
# You can specify absolute path to the given file or use ${WORKING_DIRECTORY} variable. |
| 30 |
# If you want to use .pem certificate you need to specify its path next to the key path. |
| 31 |
# Example .pem paths setup: |
| 32 |
# keyPath: ${WORKING_DIRECTORY}/cert.pem ${WORKING_DIRECTORY}/key.pem |
| 33 |
# Example .jks path setup: |
| 34 |
# keyPath: ${WORKING_DIRECTORY}/keystore.jks |
| 35 |
keyPath: ${WORKING_DIRECTORY}/cert.pem ${WORKING_DIRECTORY}/key.pem |
| 36 |
# Key password to use |
| 37 |
keyPassword: reposilite |
| 38 |
# Redirect http traffic to https |
| 39 |
enforceSsl: false |
| 40 |
|
| 41 |
# Max amount of threads used by core thread pool (min: 5) |
| 42 |
# The web thread pool handles first few steps of incoming http connections, as soon as possible all tasks are redirected to IO thread pool. |
| 43 |
webThreadPool: 16 |
| 44 |
# IO thread pool handles all tasks that may benefit from non-blocking IO (min: 2) |
| 45 |
# Because most of tasks are redirected to IO thread pool, it might be a good idea to keep it at least equal to web thread pool. |
| 46 |
ioThreadPool: 8 |
| 47 |
# Database thread pool manages open connections to database (min: 1) |
| 48 |
# Embedded databases such as SQLite or H2 don't support truly concurrent connections, so the value will be always 1 for them if selected. |
| 49 |
databaseThreadPool: 1 |
| 50 |
# Select compression strategy used by this instance. |
| 51 |
# Using 'none' reduces usage of CPU & memory, but ends up with higher transfer usage. |
| 52 |
# GZIP is better option if you're not limiting resources that much to increase overall request times. |
| 53 |
# Available strategies: none, gzip |
| 54 |
compressionStrategy: none |
| 55 |
# Default idle timeout used by Jetty |
| 56 |
idleTimeout: 30000 |
| 57 |
|
| 58 |
# Adds cache bypass headers to each request from /api/* scope served by this instance. |
| 59 |
# Helps to avoid various random issues caused by proxy provides (e.g. Cloudflare) and browsers. |
| 60 |
bypassExternalCache: true |
| 61 |
# Amount of messages stored in cached logger. |
| 62 |
cachedLogSize: 50 |
| 63 |
# Enable default frontend with dashboard |
| 64 |
defaultFrontend: true |
| 65 |
# Set custom base path for Reposilite instance. |
| 66 |
# It's not recommended to mount Reposilite under custom base path |
| 67 |
# and you should always prioritize subdomain over this option. |
| 68 |
basePath: / |
| 69 |
# Debug mode |
| 70 |
debugEnabled: false |
| 71 |
|