Skip to content

Commit

Permalink
Merge pull request pelican-eggs#1586 from zlataovce/add/reposilite
Browse files Browse the repository at this point in the history
Add Reposilite
  • Loading branch information
parkervcp authored Aug 8, 2022
2 parents 7e32cbf + 7769668 commit f9fcade
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 4 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -313,14 +313,19 @@ If you are reading this it looks like you are looking to add an egg to your serv

* [haste-server](/software/haste-server)

### Owncast

* [owncast](/software/owncast)

### RabbitMQ

* [rabbitmq](/software/rabbitmq)

### Owncast
### Reposilite

* [owncast](/software/owncast)
* [Reposilite](/software/reposilite)

=======
### 5e Tools
* [5e Tools](/software/5e-tools)

* [5e Tools](/software/5e-tools)

7 changes: 7 additions & 0 deletions software/reposilite/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# [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

One port needs to be allocated to run Reposilite.
45 changes: 45 additions & 0 deletions software/reposilite/egg-reposilite.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v2",
"update_url": null
},
"exported_at": "2022-06-12T18:45:04+02:00",
"name": "Reposilite",
"author": "[email protected]",
"description": "Lightweight and easy-to-use repository management software dedicated for Maven based artifacts in the JVM ecosystem.",
"features": null,
"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",
"ghcr.io\/pterodactyl\/yolks:java_17": "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# 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\/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:\/\/maven.reposilite.com\/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:\/\/maven.reposilite.com\/releases\/org\/panda-lang\/reposilite\/${REPOSILITE_VERSION}\/reposilite-${REPOSILITE_VERSION}-all.jar\r\nelse\r\n curl -o reposilite.jar https:\/\/maven.reposilite.com\/releases\/org\/panda-lang\/reposilite\/${REPOSILITE_VERSION}\/reposilite-${REPOSILITE_VERSION}.jar\r\nfi",
"container": "ghcr.io\/pterodactyl\/installers:debian",
"entrypoint": "bash"
}
},
"variables": [
{
"name": "Reposilite version",
"description": "The version of Reposilite.",
"env_variable": "REPOSILITE_VERSION",
"default_value": "latest",
"user_viewable": true,
"user_editable": true,
"rules": "required|string",
"field_type": "text"
}
]
}

0 comments on commit f9fcade

Please sign in to comment.