You can download standalone version of Reposilite from GitHub releases page:
You may also use Docker image available on Docker Hub:
- Java 8+
- RAM 12MB+
|12MB||Tiny repository for personal projects|
|16MB - 32MB||--------------------^------------------ + CI + Proxy|
|48MB - 128MB||Tiny public repository (recommended)|
To launch Reposilite with defined amount of RAM, use
-Xmx parameter, for instance:
java -Xmx32M -jar reposilite.jar
If you will not define the memory size, Reposilite will probably use around ~40MB to ~250MB.
Reposilite stores data in current working directory, by default it is a place where you've launched it.
user@host ~/workspace: java -jar reposilite.jar
~workspace/ +--repositories/ The root directory for all declared repositories +--/releases Default repository for releases +--/snapshots Default repository for snapshot releases +--log.txt Mirror of log from CLI +--reposilite.jar Application file +--reposilite.cdn Configuration file +--stats.yml Data file containing stats records +--tokens.yml Data file containing stored tokens
To separate data files and configuration from application, use parameters.
If Reposilite has been launched properly, you should be able to see its frontend located under the default http://localhost:80 address:
Reposilite exposes interactive console in terminal.
help and learn more.
Some of the properties have to be set through the command-line parameters.
To declare custom working directory for Reposilite instance,
you should use
java -jar reposilite.jar --working-directory=/app/data
You may also declare custom location of configuration file using the
java -jar reposilite.jar --config=/etc/reposilite/reposilite.cdn
You don't have to create this file manually,
Reposilite will generate it during the first startup,
but make sure that you've granted
Using the system properties, you can also override values from the loaded configuration. See configuration#system-properties to learn more.
java -Dtinylog.writerFile.file=/etc/reposilite/log.txt -jar reposilite.jar