2021-08-27 11:37:52 +08:00
|
|
|
{
|
|
|
|
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
|
|
|
"meta": {
|
2023-03-18 02:25:12 +08:00
|
|
|
"version": "PTDL_v2",
|
2021-08-27 11:37:52 +08:00
|
|
|
"update_url": null
|
|
|
|
},
|
2023-03-18 02:25:12 +08:00
|
|
|
"exported_at": "2023-03-17T19:22:21+01:00",
|
2021-08-27 11:37:52 +08:00
|
|
|
"name": "RabbitMQ",
|
|
|
|
"author": "p.zarrad@outlook.de",
|
|
|
|
"description": "RabbitMQ is a feature rich, multi-protocol messaging broker.",
|
|
|
|
"features": null,
|
2023-03-18 02:25:12 +08:00
|
|
|
"docker_images": {
|
|
|
|
"ghcr.io\/parkervcp\/yolks:erlang_26": "ghcr.io\/parkervcp\/yolks:erlang_26",
|
|
|
|
"ghcr.io\/parkervcp\/yolks:erlang_25": "ghcr.io\/parkervcp\/yolks:erlang_25",
|
|
|
|
"ghcr.io\/parkervcp\/yolks:erlang_24": "ghcr.io\/parkervcp\/yolks:erlang_24",
|
|
|
|
"ghcr.io\/parkervcp\/yolks:erlang_23": "ghcr.io\/parkervcp\/yolks:erlang_23",
|
|
|
|
"ghcr.io\/parkervcp\/yolks:erlang_22": "ghcr.io\/parkervcp\/yolks:erlang_22"
|
|
|
|
},
|
2021-08-27 11:37:52 +08:00
|
|
|
"file_denylist": [],
|
|
|
|
"startup": ".\/sbin\/rabbitmq-server",
|
|
|
|
"config": {
|
|
|
|
"files": "{\r\n \"etc\/rabbitmq\/rabbitmq.conf\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"listeners.tcp.default\": \"listeners.tcp.default = 0.0.0.0:{{server.build.default.port}}\"\r\n }\r\n }\r\n}",
|
|
|
|
"startup": "{\r\n \"done\": \" completed with\"\r\n}",
|
|
|
|
"logs": "{}",
|
|
|
|
"stop": "^C"
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"installation": {
|
|
|
|
"script": "#!\/bin\/sh\r\n# Switch to mounted directory\r\ncd \/mnt\/server\r\n# Update and install xz\r\napk update\r\napk add xz\r\n# Cleanup previous install if available but leave etc untouched\r\nfind . -maxdepth 1 ! -name \"etc\" ! -name . -exec rm -rf {} \\;\r\n# Download and extract RabbitMQ\r\nversion=${RABBITMQ_VERSION}\r\nif [ \"$version\" = \"latest\" ]; then version=$(curl --silent \"https:\/\/api.github.com\/repos\/rabbitmq\/rabbitmq-server\/releases\/latest\" | grep '\"tag_name\":' | sed -E 's\/.*\"([^\"]+)\".*\/\\1\/' | cut -c2-); fi\r\ncurl -L https:\/\/github.com\/rabbitmq\/rabbitmq-server\/releases\/download\/v${version}\/rabbitmq-server-generic-unix-${version}.tar.xz --output rabbitmq.tar.xz\r\nxz -v -d rabbitmq.tar.xz && tar -xvf rabbitmq.tar\r\nmv -n rabbitmq_server-*\/* .\/\r\nrm -rf rabbitmq.tar rabbitmq_server-*\/\r\n# If there is no config, download default one\r\nif [ ! -f \"etc\/rabbitmq\/rabbitmq.conf\" ]; then mkdir -p etc\/rabbitmq\/ && curl -L https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/software\/rabbitmq\/rabbitmq.conf --output etc\/rabbitmq\/rabbitmq.conf; fi",
|
|
|
|
"container": "ghcr.io\/pterodactyl\/installers:alpine",
|
|
|
|
"entrypoint": "ash"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"variables": [
|
|
|
|
{
|
|
|
|
"name": "RabbitMQ Version",
|
|
|
|
"description": "The version of RabbitMQ to install. By default the latest version is being installed.",
|
|
|
|
"env_variable": "RABBITMQ_VERSION",
|
|
|
|
"default_value": "latest",
|
|
|
|
"user_viewable": true,
|
|
|
|
"user_editable": true,
|
2023-03-18 02:25:12 +08:00
|
|
|
"rules": "required|string|max:20",
|
|
|
|
"field_type": "text"
|
2021-08-27 11:37:52 +08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|