Egg Repository

Pterodactyl Community Egg Repository

Elasticsearch

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.

Read Me

Elasticsearch

From the Elasticsearch GitHub

Run 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.

Portdefault
Game9200
Yolks
NameTag
ghcr.io/ptero-eggs/yolks:debianghcr.io/ptero-eggs/yolks:debian
Variables and Startup

Startup Command

./bin/elasticsearch -E network.host=0.0.0.0 -E http.port={{SERVER_PORT}} -E discovery.type={{DISCOVERY_SEED_HOSTS}}

Variables

Discovery Seed Hosts

Please keep default if you are unsure.

Environment Variable: DISCOVERY_SEED_HOSTS
Default Value: single-node
User Viewable:
User Editable:
Elasticsearch Version

Go to https://www.elastic.co/downloads/elasticsearch and look at the version at the top.

Environment Variable: VERSION
Default Value: 8.13.0
User Viewable:
User Editable:
Install Script
#!/bin/bash
# Elasticsearch Installation Script
#
# Server Files: /mnt/server

## Install Requirements

cd /mnt/server

## Install Elasticsearch
ARCH=$([[ "$(uname -m)" == "x86_64" ]] && echo "x86_64" || echo "aarch64")
curl -sSL -o elasticsearch.tar.gz https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-$VERSION-linux-${ARCH}.tar.gz

tar -zxf  elasticsearch.tar.gz --directory /mnt/server
mv elasticsearch*/* /mnt/server
rm  elasticsearch.tar.gz
rm -R elasticsearch-*

## Finish command
echo "All done! Just start it up :)"
Installation Imageghcr.io/ptero-eggs/installers:debianInstallation Entrypointbash