|
1
|
|
{
|
|
2
|
|
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL",
|
|
3
|
|
"meta": {
|
|
展开 40 行未改动
|
|
4
|
|
"update_url": "https://eggs.pterodactyl.top/eggs/13/download/egg-rabbitmq.json",
|
|
5
|
|
"version": "PTDL_v2"
|
|
6
|
|
},
|
|
7
|
|
"exported_at": "2024-06-02T14:40:54+00:00",
|
|
8
|
|
"name": "RabbitMQ",
|
|
9
|
|
"author": "p.zarrad@outlook.de",
|
|
10
|
|
"description": "RabbitMQ is a feature rich, multi-protocol messaging broker.",
|
|
11
|
|
"features": null,
|
|
12
|
|
"docker_images": {
|
|
13
|
|
"registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:erlang_22": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:erlang_22",
|
|
14
|
|
"registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:erlang_23": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:erlang_23",
|
|
15
|
|
"registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:erlang_24": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:erlang_24",
|
|
16
|
|
"registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:erlang_25": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:erlang_25",
|
|
17
|
|
"registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:erlang_26": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:erlang_26"
|
|
18
|
|
},
|
|
19
|
|
"file_denylist": [],
|
|
20
|
|
"startup": "./sbin/rabbitmq-server",
|
|
21
|
|
"config": {
|
|
22
|
|
"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}",
|
|
23
|
|
"logs": "{}",
|
|
24
|
|
"startup": "{\r\n \"done\": \" completed with\"\r\n}",
|
|
25
|
|
"stop": "^C"
|
|
26
|
|
},
|
|
27
|
|
"scripts": {
|
|
28
|
|
"installation": {
|
|
29
|
|
"container": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/installers:alpine",
|
|
30
|
|
"entrypoint": "ash",
|
|
31
|
|
"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"
|
|
32
|
|
}
|
|
33
|
|
},
|
|
34
|
|
"variables": [
|
|
35
|
|
{
|
|
36
|
|
"name": "RabbitMQ Version",
|
|
37
|
|
"description": "The version of RabbitMQ to install. By default the latest version is being installed.",
|
|
38
|
|
"env_variable": "RABBITMQ_VERSION",
|
|
39
|
|
"default_value": "latest",
|
|
40
|
|
"user_viewable": true,
|
|
41
|
|
"user_editable": true,
|
|
42
|
|
"rules": "required|string|max:20",
|
|
43
|
|
"field_type": "text"
|
|
44
|
|
}
|
|
45
|
|
]
|
|
46
|
|
}
|