Skip to content

Commit

Permalink
Merge pull request #2 from jacany/pterodactyl
Browse files Browse the repository at this point in the history
Pterodactyl egg & setup instructions
  • Loading branch information
ravener committed Apr 30, 2021
2 parents 9082a73 + 6f10096 commit 47494f1
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ docker run -d -p <target>:3030 iceemc/img-api:latest
docker run -d -p 0.0.0.0:<target>:3030 iceemc/img-api:latest
```

# Setup (Pterodactyl)
Just follow the below instructions in order, indicated by the **big numbers**
![image](https://user-images.githubusercontent.com/30955604/116635544-0fe1a280-a92d-11eb-9837-8b03f1dd333f.png)


All API endpoints are listed in [Endpoints.md](Endpoints.md)

## Local Usage or Shared?
Expand Down
29 changes: 29 additions & 0 deletions egg-img-api.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v1",
"update_url": null
},
"exported_at": "2021-04-29T20:45:33-04:00",
"name": "img-api",
"author": "jack@chaker.xyz",
"description": "Image API from https://github.com/ravener/img-api",
"features": null,
"images": ["quay.io/parkervcp/pterodactyl-images:base_debian"],
"file_denylist": [],
"startup": "./img-api",
"config": {
"files": "{}",
"startup": "{\r\n \"done\": \"Running on\"\r\n}",
"logs": "{}",
"stop": "^C"
},
"scripts": {
"installation": {
"script": "#!/bin/bash\r\n# golang generic package\r\n\r\n\r\nif [ ! -d /mnt/server/ ]; then\r\n mkdir -p /mnt/server/\r\nfi\r\n\r\ngo get github.com/ravener/img-api\r\n\r\ncd src/github.com/ravener/img-api\r\n\r\ngo get\r\n\r\ngo build\r\n\r\ncp -f -r . /mnt/server/",
"container": "golang:1.15-buster",
"entrypoint": "bash"
}
},
"variables": []
}

0 comments on commit 47494f1

Please sign in to comment.