Skip to content

Instantly share code, notes, and snippets.

@felipe-negri
Created August 30, 2024 17:24
Show Gist options
  • Save felipe-negri/cd06b0e4e1042c5f483122d11b1658c1 to your computer and use it in GitHub Desktop.
Save felipe-negri/cd06b0e4e1042c5f483122d11b1658c1 to your computer and use it in GitHub Desktop.
python-github-egg.json
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v1",
"update_url": null
},
"exported_at": "2021-01-12T05:54:35-05:00",
"name": "Python-Universal",
"author": "yajtpg@gmail.com",
"description": "Python egg with compatibility for multiple Python versions.",
"features": null,
"images": [
"quay.io\/yajtpg\/pterodactyl-images:python-2.7",
"quay.io\/yajtpg\/pterodactyl-images:python-3.8",
"quay.io\/yajtpg\/pterodactyl-images:python-3.9",
"quay.io\/yajtpg\/pterodactyl-images:python-3.10",
"quay.io\/yajtpg\/pterodactyl-images:python-3.11"
],
"startup": "\/start.sh",
"config": {
"files": "{}",
"startup": "{\r\n \"done\": \"\",\r\n \"userInteraction\": []\r\n}",
"logs": "{\r\n \"custom\": true,\r\n \"location\": \"logs\/latest.log\"\r\n}",
"stop": "^C"
},
"scripts": {
"installation": {
"script": null,
"container": "alpine:3",
"entrypoint": "ash"
}
},
"variables": [
{
"name": "Startup Command 1",
"description": "First Startup Command",
"env_variable": "STARTUP_CMD",
"default_value": "pip install -r requirements.txt",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:256"
},
{
"name": "Startup Command 2 (Optional)",
"description": "Second Startup Command",
"env_variable": "SECOND_CMD",
"default_value": "python bot.py",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string|max:256"
},
{
"name": "Git Repo Address",
"description": "Git repo to clone\r\n\r\nI.E. https:\/\/github.com\/finnie2006\/repo_name",
"env_variable": "GIT_ADDRESS",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string",
"field_type": "text"
},
{
"name": "Git Branch",
"description": "What branch to pull from github.\r\n\r\nDefault is blank to pull the repo default branch",
"env_variable": "BRANCH",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string",
"field_type": "text"
},
{
"name": "Auto Update",
"description": "Pull the latest files on startup when using a GitHub repo.",
"env_variable": "AUTO_UPDATE",
"default_value": "0",
"user_viewable": true,
"user_editable": true,
"rules": "required|boolean",
"field_type": "text"
},
{
"name": "Git Username",
"description": "Username to auth with git.",
"env_variable": "USERNAME",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string",
"field_type": "text"
},
{
"name": "Git Access Token",
"description": "Password to use with git.\r\n\r\nIt's best practice to use a Personal Access Token.\r\nhttps:\/\/github.com\/settings\/tokens\r\nhttps:\/\/gitlab.com\/-\/profile\/personal_access_tokens",
"env_variable": "ACCESS_TOKEN",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string",
"field_type": "text"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment