Created
September 10, 2025 23:46
-
-
Save BlueTree242/fb7649ff4c5755f0cd6f102f709661a6 to your computer and use it in GitHub Desktop.
Skyra HasteServer Pterodactyl Egg
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", | |
| "meta": { | |
| "version": "PTDL_v2" | |
| }, | |
| "exported_at": "2025-09-10T23:38:35+00:00", | |
| "name": "skyra-haste-server", | |
| "author": "[email protected]", | |
| "description": "An unofficial pterodactyl egg for the skyra haste server.\nhttps://github.com/skyra-project/haste-server", | |
| "features": null, | |
| "docker_images": { | |
| "ghcr.io\/ptero-eggs\/yolks:nodejs_22": "ghcr.io\/ptero-eggs\/yolks:nodejs_22" | |
| }, | |
| "file_denylist": [], | |
| "startup": "PORT={{SERVER_PORT}} node haste-server\/dist\/backend\/server.js", | |
| "config": { | |
| "files": "{}", | |
| "startup": "{\r\n \"done\": \"listening on\"\r\n}", | |
| "logs": "{}", | |
| "stop": "^C" | |
| }, | |
| "scripts": { | |
| "installation": { | |
| "script": "#!\/bin\/bash\r\nshopt -s extglob dotglob\r\n\r\napt update\r\napt install -y git curl\r\nmkdir -p \/mnt\/server\r\ncd \/mnt\/server\r\nrm -rf !(data) # Delete all files except the \"data\" folder.\r\n\r\ngit clone https:\/\/github.com\/skyra-project\/haste-server\r\ncd haste-server\r\nyarn install --immutable\r\nyarn run build\r\n\r\nrm -rf !(yarn.lock|package.json|.yarnrc.yml|README.md|.yarn|dist) # This removes most sources files that are not needed anymore.\r\n \r\nyarn workspaces focus --all --production\r\n\r\nexit 0", | |
| "container": "node:22-bookworm-slim", | |
| "entrypoint": "bash" | |
| } | |
| }, | |
| "variables": [ | |
| { | |
| "name": "Node Environment", | |
| "description": "Please do not modify.", | |
| "env_variable": "NODE_ENV", | |
| "default_value": "production", | |
| "user_viewable": false, | |
| "user_editable": false, | |
| "rules": "required", | |
| "field_type": "text" | |
| }, | |
| { | |
| "name": "Node Options", | |
| "description": "Please do not modify.", | |
| "env_variable": "NODE_OPTIONS", | |
| "default_value": "--enable-source-maps", | |
| "user_viewable": false, | |
| "user_editable": false, | |
| "rules": "required", | |
| "field_type": "text" | |
| }, | |
| { | |
| "name": "Hastebin Expiry", | |
| "description": "The number of seconds to keep hastebins before they expire.", | |
| "env_variable": "STORAGE_EXPIRE_SECONDS", | |
| "default_value": "21600", | |
| "user_viewable": true, | |
| "user_editable": true, | |
| "rules": "required|numeric", | |
| "field_type": "text" | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment