feat: Elasticsearch egg (#1265)

This commit is contained in:
Faye 2021-11-14 23:44:24 +01:00 committed by GitHub
parent 1ab8c6867e
commit da22608468
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 68 additions and 0 deletions

View File

@ -249,6 +249,8 @@ If you are reading this it looks like you are looking to add an egg to your serv
## [Software](/software/) ## [Software](/software/)
### Code Server ### Code Server
* [Code-Server](/software/code-server) * [Code-Server](/software/code-server)
### Elasticsearch
* [Elasticsearch](/software/elasticsearch)
### Gitea ### Gitea
* [Gitea](/software/gitea) * [Gitea](/software/gitea)
### Grafana ### Grafana

View File

@ -0,0 +1,16 @@
# Elasticsearch
### From the [Elasticsearch](https://github.com/elastic/elasticsearch) GitHub
Run [Elasticsearch](https://github.com/elastic/elasticsearch) on any machine anywhere and access it in the browser.
### vm.max_map_count requirement
Please follow this for the vm.max_map_count requirement: https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html#_set_vm_max_map_count_to_at_least_262144
### Server Ports
Ports required to run the server in a table format.
| Port | default |
| ---- | ------- |
| Game | 9200 |

View File

@ -0,0 +1,50 @@
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v1",
"update_url": null
},
"exported_at": "2021-07-27T08:27:04-05:00",
"name": "Elasticsearch",
"author": "dominic@stilma.net",
"description": null,
"features": null,
"images": [
"quay.io\/parkervcp\/pterodactyl-images:ubuntu"
],
"file_denylist": [],
"startup": ".\/bin\/elasticsearch -E network.host=0.0.0.0 -E http.port={{SERVER_PORT}} -E discovery.type={{DISCOVERY_SEED_HOSTS}}",
"config": {
"files": "{}",
"startup": "{\r\n \"done\": \"started\"\r\n}",
"logs": "{}",
"stop": "^C"
},
"scripts": {
"installation": {
"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\napt update\r\napt install -y jq ca-certificates gnupg2 wget tar curl\r\n\r\ncd \/mnt\/server\r\n\r\n## Install Elasticsearch\r\nwget https:\/\/artifacts.elastic.co\/downloads\/elasticsearch\/elasticsearch-$VERSION-linux-x86_64.tar.gz\r\ntar -zxf elasticsearch-*-linux-x86_64.tar.gz --directory \/mnt\/server\r\nmv elasticsearch*\/* \/mnt\/server\r\nrm elasticsearch-*-linux-x86_64.tar.gz\r\nrm -R elasticsearch-*\r\n\r\n## Finish command\r\necho \"All done! Just start it up :)\"",
"container": "debian:buster-slim",
"entrypoint": "bash"
}
},
"variables": [
{
"name": "Discovery Seed Hosts",
"description": "Please keep default if you are unsure.",
"env_variable": "DISCOVERY_SEED_HOSTS",
"default_value": "single-node",
"user_viewable": true,
"user_editable": true,
"rules": "required"
},
{
"name": "Elasticsearch Version",
"description": "Go to https:\/\/www.elastic.co\/downloads\/elasticsearch and look at the version at the top.",
"env_variable": "VERSION",
"default_value": "7.15.1",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:20"
}
]
}