Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 0 additions & 44 deletions loki/egg-loki.json

This file was deleted.

68 changes: 68 additions & 0 deletions loki/egg-loki.yaml

Large diffs are not rendered by default.

42 changes: 42 additions & 0 deletions loki/egg-pterodactyl-loki.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v2",
"update_url": null
},
"exported_at": "2026-01-01T21:07:56+00:00",
"name": "Loki",
"author": "unknown@unknown.com",
"description": "Prometheus but for logs. This egg is for Loki instance only! You usually need pushing agents like\nPromtail to put logs in this",
"features": null,
"docker_images": {
"Debian": "ghcr.io\/pelican-eggs\/yolks:debian"
},
"file_denylist": [],
"startup": ".\/loki-linux -config.file=loki-docker-config.yaml",
"config": {
"files": "{\n \"loki-docker-config.yaml\": {\n \"parser\": \"yaml\",\n \"find\": {\n \"server.http_listen_port\": \"{{server.build.default.port}}\",\n \"common.ring.instance_addr\": \"0.0.0.0\",\n \"common.path_prefix\": \"\\\/home\\\/container\\\/loki\",\n \"common.storage.filesystem.chunks_directory\": \"\\\/home\\\/container\\\/loki\\\/chunks\",\n \"common.storage.filesystem.rules_directory\": \"\\\/home\\\/container\\\/loki\\\/rules\"\n }\n }\n}",
"startup": "{\n \"done\": \"Loki started\"\n}",
"logs": "[]",
"stop": "^C"
},
"scripts": {
"installation": {
"script": "#!\/bin\/bash\n# Switch to mounted working install directory\ncd \/mnt\/server\n\napt update\napt install -y file\nARCH=$([[ \"$(uname -m)\" == \"x86_64\" ]] && echo \"amd64\" || echo \"arm64\")\n# Download and extract Loki\n\nif [ \"$LOKI_VERSION\" = \"latest\" ]; then LOKI_VERSION=$(curl --silent \"https:\/\/api.github.com\/repos\/grafana\/loki\/releases\/latest\" | grep '\"tag_name\":' | sed -E 's\/.*\"([^\"]+)\".*\/\\1\/' | cut -c2-); fi\necho -e \"running curl -L https:\/\/github.com\/grafana\/loki\/releases\/download\/v${LOKI_VERSION}\/loki-linux-${ARCH}.zip --output loki-linux-amd64.zip\"\ncurl -L https:\/\/github.com\/grafana\/loki\/releases\/download\/v${LOKI_VERSION}\/loki-linux-${ARCH}.zip --output loki-linux-${ARCH}.zip\nunzip loki-linux-${ARCH}.zip\nrm -rf loki-linux-${ARCH}.zip\ncurl -L https:\/\/raw.githubusercontent.com\/grafana\/loki\/v${LOKI_VERSION}\/cmd\/loki\/loki-docker-config.yaml --output loki-docker-config.yaml\nmv loki-linux-* loki-linux\necho -e \"installation completed\"",
"container": "ghcr.io\/pelican-eggs\/installers:debian",
"entrypoint": "bash"
}
},
"variables": [
{
"name": "Loki Version",
"description": "The version of Loki to use.\r\n\r\nFind all versions from https:\/\/github.com\/grafana\/loki",
"env_variable": "LOKI_VERSION",
"default_value": "latest",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:20",
"field_type": "text"
}
]
}
62 changes: 0 additions & 62 deletions prometheus/egg-prometheus.json

This file was deleted.

74 changes: 74 additions & 0 deletions prometheus/egg-prometheus.yaml

Large diffs are not rendered by default.

52 changes: 52 additions & 0 deletions prometheus/egg-pterodactyl-prometheus.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v2",
"update_url": null
},
"exported_at": "2026-01-01T21:06:33+00:00",
"name": "Prometheus",
"author": "p.zarrad@outlook.de",
"description": "The Prometheus monitoring system and time series database.",
"features": null,
"docker_images": {
"Debian": "ghcr.io\/pelican-eggs\/yolks:debian"
},
"file_denylist": [],
"startup": ".\/prometheus --web.listen-address=0.0.0.0:{{SERVER_PORT}} --config.file=\/home\/container\/prometheus.yml --storage.tsdb.path=\/home\/container\/data --web.console.templates=\/home\/container\/consoles --web.console.libraries=\/home\/container\/console_libraries --web.config.file=\/home\/container\/prometheus.web.yml --storage.tsdb.retention.time={{DATA_SAVE_TIME}}",
"config": {
"files": "[]",
"startup": "{\n \"done\": \"Server is ready to receive web requests.\"\n}",
"logs": "[]",
"stop": "^C"
},
"scripts": {
"installation": {
"script": "#!\/bin\/sh\nshopt -s extglob\n# Switch to mounted directory\ncd \/mnt\/server\nARCH=$([[ \"$(uname -m)\" == \"x86_64\" ]] && echo \"amd64\" || echo \"arm64\")\n# Cleanup previous install if available\nif [ -f \"prometheus.yml\" ]; then mv prometheus.yml prometheus.yml.bak; fi\nif [ -f \"prometheus.web.yml\" ]; then mv prometheus.web.yml prometheus.web.yml.bak; fi\nrm -rfv !(data|prometheus.yml.bak|prometheus.web.yml.bak)\n# Download and extract Prometheus\nversion=${PROMETHEUS_VERSION}\nif [ \"$version\" = \"latest\" ]; then version=$(curl --silent \"https:\/\/api.github.com\/repos\/prometheus\/prometheus\/releases\/latest\" | grep '\"tag_name\":' | sed -E 's\/.*\"([^\"]+)\".*\/\\1\/' | cut -c2-); fi\ncurl -L https:\/\/github.com\/prometheus\/prometheus\/releases\/download\/v${version}\/prometheus-${version}.linux-${ARCH}.tar.gz --output prometheus.tar.gz\ntar -zxvf prometheus.tar.gz\nmv -n prometheus-*\/* .\/\nrm -rf prometheus.tar.gz prometheus-*\/\n# Restore configuration if necessary\nif [ -f \"prometheus.yml.bak\" ]; then rm -rf prometheus.yml && mv prometheus.yml.bak prometheus.yml && rm -rf prometheus.yml.bak; fi\nif [ -f \"prometheus.web.yml.bak\" ]; then rm -rf prometheus.web.yml && mv prometheus.web.yml.bak prometheus.web.yml && rm -rf prometheus.web.yml.bak; fi\n# Create dummy prometheus.web.yml as a placeholder\nif [ ! -f \"prometheus.web.yml\" ]; then touch prometheus.web.yml; fi",
"container": "ghcr.io\/pelican-eggs\/installers:debian",
"entrypoint": "bash"
}
},
"variables": [
{
"name": "Data Save time in Days",
"description": "How long the data is being saved",
"env_variable": "DATA_SAVE_TIME",
"default_value": "15d",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:10",
"field_type": "text"
},
{
"name": "Prometheus Version",
"description": "The version of Prometheus to install. By default the latest version is being installed.",
"env_variable": "PROMETHEUS_VERSION",
"default_value": "latest",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:20",
"field_type": "text"
}
]
}