Reposilite
Lightweight and easy-to-use repository management software dedicated for Maven based artifacts in the JVM ecosystem.
- updated
- variables
- 1
- images
- 5
- author
- mk@kcra.me
- sha256
- 6e64c9556b1a
Readme
Reposilite
Lightweight and easy-to-use repository management software dedicated for Maven based artifacts in the JVM ecosystem.
Server Ports
One port needs to be allocated to run Reposilite.
Startup command
java -Xmx{{SERVER_MEMORY}}M -Dreposilite.port={{SERVER_PORT}} -jar reposilite.jar --port {{SERVER_PORT}} The parts in blue are filled in by the panel when the server starts, from the variables below.
Docker images
- ghcr.io/pterodactyl/yolks:java_11
- ghcr.io/pterodactyl/yolks:java_16
- ghcr.io/pterodactyl/yolks:java_17
- ghcr.io/pterodactyl/yolks:java_21
- ghcr.io/pterodactyl/yolks:java_8
Variables
1 setting
-
Reposilite version
The version of Reposilite.
- env
- REPOSILITE_VERSION
- default
- latest
- rules
- required|string
- viewable
- editable
Installation script 15 lines container ghcr.io/ptero-eggs/installers:debian entrypoint bash show hide
#!/bin/sh
# Switch to mounted directory
cd /mnt/server
# Find latest Reposilite version, if needed
if [ "$REPOSILITE_VERSION" == "latest" ]; then
REPOSILITE_VERSION=$(grep -oPm1 "(?<=<latest>)[^<]+" <<< "$(curl -s https://maven.reposilite.com/releases/com/reposilite/reposilite/maven-metadata.xml)")
fi
# Check if -all suffixed jar is available
status_code=$(curl --write-out '%{http_code}' -X HEAD -s -o /dev/null https://maven.reposilite.com/releases/com/reposilite/reposilite/${REPOSILITE_VERSION}/reposilite-${REPOSILITE_VERSION}-all.jar)
# Download new Reposilite
if [ "$status_code" == 200 ]; then
curl -o reposilite.jar https://maven.reposilite.com/releases/com/reposilite/reposilite/${REPOSILITE_VERSION}/reposilite-${REPOSILITE_VERSION}-all.jar
else
curl -o reposilite.jar https://maven.reposilite.com/releases/com/reposilite/reposilite/${REPOSILITE_VERSION}/reposilite-${REPOSILITE_VERSION}.jar
fi