mirror of
https://github.com/parkervcp/eggs.git
synced 2024-11-26 07:52:56 +08:00
add Reposilite egg
This commit is contained in:
parent
3897b8d7ed
commit
24e1e0cca4
@ -303,3 +303,7 @@ If you are reading this it looks like you are looking to add an egg to your serv
|
|||||||
### RabbitMQ
|
### RabbitMQ
|
||||||
|
|
||||||
* [rabbitmq](/software/rabbitmq)
|
* [rabbitmq](/software/rabbitmq)
|
||||||
|
|
||||||
|
### Reposilite
|
||||||
|
|
||||||
|
* [Reposilite](/software/reposilite)
|
||||||
|
11
software/reposilite/README.md
Normal file
11
software/reposilite/README.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# [Reposilite](https://github.com/dzikoysk/reposilite)
|
||||||
|
|
||||||
|
Lightweight and easy-to-use repository management software dedicated for Maven based artifacts in the JVM ecosystem.
|
||||||
|
|
||||||
|
## Server Ports
|
||||||
|
|
||||||
|
Ports required to run the server in a table format.
|
||||||
|
|
||||||
|
| Port | default |
|
||||||
|
| ---- | ------- |
|
||||||
|
| App | 80 |
|
44
software/reposilite/egg-reposilite.json
Normal file
44
software/reposilite/egg-reposilite.json
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
{
|
||||||
|
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
||||||
|
"meta": {
|
||||||
|
"version": "PTDL_v1",
|
||||||
|
"update_url": null
|
||||||
|
},
|
||||||
|
"exported_at": "2022-03-18T18:01:24+01: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,
|
||||||
|
"images": [
|
||||||
|
"ghcr.io\/pterodactyl\/yolks:java_8",
|
||||||
|
"ghcr.io\/pterodactyl\/yolks:java_11",
|
||||||
|
"ghcr.io\/pterodactyl\/yolks:java_16",
|
||||||
|
"ghcr.io\/pterodactyl\/yolks:java_17"
|
||||||
|
],
|
||||||
|
"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": {
|
||||||
|
"script": "#!\/bin\/sh\r\n# Switch to mounted directory\r\ncd \/mnt\/server\r\n# Update installation system and install curl\r\napt-get update\r\napt-get install -y curl\r\n# Remove old Reposilite JAR\r\nrm -f reposilite.jar\r\n# Find latest Reposilite version, if needed\r\nif [ \"$REPOSILITE_VERSION\" == \"latest\" ]; then\r\n REPOSILITE_VERSION=$(grep -oPm1 \"(?<=<latest>)[^<]+\" <<< \"$(curl -s https:\/\/repo.panda-lang.org\/releases\/org\/panda-lang\/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:\/\/repo.panda-lang.org\/releases\/org\/panda-lang\/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:\/\/repo.panda-lang.org\/releases\/org\/panda-lang\/reposilite\/${REPOSILITE_VERSION}\/reposilite-${REPOSILITE_VERSION}-all.jar\r\nelse\r\n curl -o reposilite.jar https:\/\/repo.panda-lang.org\/releases\/org\/panda-lang\/reposilite\/${REPOSILITE_VERSION}\/reposilite-${REPOSILITE_VERSION}.jar\r\nfi",
|
||||||
|
"container": "debian:buster-slim",
|
||||||
|
"entrypoint": "bash"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"variables": [
|
||||||
|
{
|
||||||
|
"name": "Reposilite version",
|
||||||
|
"description": "The version of Reposilite.",
|
||||||
|
"env_variable": "REPOSILITE_VERSION",
|
||||||
|
"default_value": "latest",
|
||||||
|
"user_viewable": false,
|
||||||
|
"user_editable": true,
|
||||||
|
"rules": "required|string"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user