|
1
|
|
{
|
|
2
|
|
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL",
|
|
3
|
|
"meta": {
|
|
展开 49 行未改动
|
|
4
|
|
"version": "PTDL_v2",
|
|
5
|
|
"update_url": "https://eggs.pterodactyl.top/eggs/3/download/egg-elasticsearch.json"
|
|
6
|
|
},
|
|
7
|
|
"exported_at": "2024-06-02T14:40:58+00:00",
|
|
8
|
|
"name": "Elasticsearch",
|
|
9
|
|
"author": "dominic@stilma.net",
|
|
10
|
|
"uuid": "9dfd90cd-07e8-4b60-b448-c4d22526633a",
|
|
11
|
|
"description": "Elasticsearch is a distributed, RESTful search and analytics engine capable of addressing a growing number of use cases. As the heart of the Elastic Stack, it centrally stores your data for lightning fast search, fine‑tuned relevancy, and powerful analytics that scale with ease.",
|
|
12
|
|
"features": null,
|
|
13
|
|
"docker_images": {
|
|
14
|
|
"registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:debian": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:debian"
|
|
15
|
|
},
|
|
16
|
|
"file_denylist": [],
|
|
17
|
|
"startup": "./bin/elasticsearch -E network.host=0.0.0.0 -E http.port={{SERVER_PORT}} -E discovery.type={{DISCOVERY_SEED_HOSTS}}",
|
|
18
|
|
"config": {
|
|
19
|
|
"files": "{}",
|
|
20
|
|
"startup": "{\r\n \"done\": \"started\"\r\n}",
|
|
21
|
|
"logs": "{}",
|
|
22
|
|
"stop": "^C"
|
|
23
|
|
},
|
|
24
|
|
"scripts": {
|
|
25
|
|
"installation": {
|
|
26
|
|
"script": "#!/bin/bash\r\n# Elasticsearch Installation Script\r\n#\r\n# Server Files: /mnt/server\r\n\r\n## Install Requirements\r\n\r\ncd /mnt/server\r\n\r\n## Install Elasticsearch\r\nARCH=$([[ \"$(uname -m)\" == \"x86_64\" ]] && echo \"x86_64\" || echo \"aarch64\")\r\ncurl -sSL -o elasticsearch.tar.gz https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-$VERSION-linux-${ARCH}.tar.gz\r\n\r\ntar -zxf elasticsearch.tar.gz --directory /mnt/server\r\nmv elasticsearch*/* /mnt/server\r\nrm elasticsearch.tar.gz\r\nrm -R elasticsearch-*\r\n\r\n## Finish command\r\necho \"All done! Just start it up :)\"",
|
|
27
|
|
"container": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/installers:debian",
|
|
28
|
|
"entrypoint": "bash"
|
|
29
|
|
}
|
|
30
|
|
},
|
|
31
|
|
"variables": [
|
|
32
|
|
{
|
|
33
|
|
"name": "Discovery Seed Hosts",
|
|
34
|
|
"description": "Please keep default if you are unsure.",
|
|
35
|
|
"env_variable": "DISCOVERY_SEED_HOSTS",
|
|
36
|
|
"default_value": "single-node",
|
|
37
|
|
"user_viewable": true,
|
|
38
|
|
"user_editable": true,
|
|
39
|
|
"rules": "required",
|
|
40
|
|
"sort": null,
|
|
41
|
|
"field_type": "text"
|
|
42
|
|
},
|
|
43
|
|
{
|
|
44
|
|
"name": "Elasticsearch Version",
|
|
45
|
|
"description": "Go to https://www.elastic.co/downloads/elasticsearch and look at the version at the top.",
|
|
46
|
|
"env_variable": "VERSION",
|
|
47
|
|
"default_value": "8.13.0",
|
|
48
|
|
"user_viewable": true,
|
|
49
|
|
"user_editable": true,
|
|
50
|
|
"rules": "required|string|max:20",
|
|
51
|
|
"sort": null,
|
|
52
|
|
"field_type": "text"
|
|
53
|
|
}
|
|
54
|
|
]
|
|
55
|
|
}
|