eggs/software/reposilite/egg-reposilite.json

47 lines
2.7 KiB
JSON
Raw Normal View History

2022-03-19 01:04:07 +08:00
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
2022-06-13 00:48:21 +08:00
"version": "PTDL_v2",
2022-03-19 01:04:07 +08:00
"update_url": null
},
2024-02-14 02:46:55 +08:00
"exported_at": "2024-02-13T17:26:13+0000",
2022-03-19 01:04:07 +08:00
"name": "Reposilite",
"author": "mk@kcra.me",
"description": "Lightweight and easy-to-use repository management software dedicated for Maven based artifacts in the JVM ecosystem.",
"features": null,
2022-06-13 00:48:21 +08:00
"docker_images": {
"ghcr.io\/pterodactyl\/yolks:java_8": "ghcr.io\/pterodactyl\/yolks:java_8",
"ghcr.io\/pterodactyl\/yolks:java_11": "ghcr.io\/pterodactyl\/yolks:java_11",
"ghcr.io\/pterodactyl\/yolks:java_16": "ghcr.io\/pterodactyl\/yolks:java_16",
2024-02-14 02:46:55 +08:00
"ghcr.io\/pterodactyl\/yolks:java_17": "ghcr.io\/pterodactyl\/yolks:java_17",
"ghcr.io\/pterodactyl\/yolks:java_21": "ghcr.io\/pterodactyl\/yolks:java_21"
2022-06-13 00:48:21 +08:00
},
2022-03-19 01:04:07 +08:00
"file_denylist": [],
"startup": "java -Xmx{{SERVER_MEMORY}}M -Dreposilite.port={{SERVER_PORT}} -jar reposilite.jar --port {{SERVER_PORT}}",
"config": {
"files": "{}",
"startup": "{\r\n \"done\": \"Done (\"\r\n}",
"logs": "{}",
"stop": "stop"
},
"scripts": {
"installation": {
2023-02-07 01:52:29 +08:00
"script": "#!\/bin\/sh\r\n# Switch to mounted directory\r\ncd \/mnt\/server\r\n# Find latest Reposilite version, if needed\r\nif [ \"$REPOSILITE_VERSION\" == \"latest\" ]; then\r\n REPOSILITE_VERSION=$(grep -oPm1 \"(?<=<latest>)[^<]+\" <<< \"$(curl -s https:\/\/maven.reposilite.com\/releases\/com\/reposilite\/reposilite\/maven-metadata.xml)\")\r\nfi\r\n# Check if -all suffixed jar is available\r\nstatus_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)\r\n# Download new Reposilite\r\nif [ \"$status_code\" == 200 ]; then\r\n curl -o reposilite.jar https:\/\/maven.reposilite.com\/releases\/com\/reposilite\/reposilite\/${REPOSILITE_VERSION}\/reposilite-${REPOSILITE_VERSION}-all.jar\r\nelse\r\n curl -o reposilite.jar https:\/\/maven.reposilite.com\/releases\/com\/reposilite\/reposilite\/${REPOSILITE_VERSION}\/reposilite-${REPOSILITE_VERSION}.jar\r\nfi",
"container": "ghcr.io\/parkervcp\/installers:debian",
2022-03-19 01:04:07 +08:00
"entrypoint": "bash"
}
},
"variables": [
{
"name": "Reposilite version",
"description": "The version of Reposilite.",
"env_variable": "REPOSILITE_VERSION",
"default_value": "latest",
2022-03-20 04:17:40 +08:00
"user_viewable": true,
2022-03-19 01:04:07 +08:00
"user_editable": true,
2022-06-13 00:48:21 +08:00
"rules": "required|string",
"field_type": "text"
2022-03-19 01:04:07 +08:00
}
]
2023-02-07 01:52:29 +08:00
}