mirror of
https://github.com/parkervcp/eggs.git
synced 2024-11-27 08:52:54 +08:00
62 lines
2.6 KiB
JSON
62 lines
2.6 KiB
JSON
{
|
|
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
|
"meta": {
|
|
"version": "PTDL_v2",
|
|
"update_url": null
|
|
},
|
|
"exported_at": "2022-11-04T19:18:22+01:00",
|
|
"name": "rethinkdb",
|
|
"author": "josdekurk@gmail.com",
|
|
"description": "The open-source database for the realtime web",
|
|
"features": null,
|
|
"docker_images": {
|
|
"Debian": "ghcr.io\/parkervcp\/yolks:debian"
|
|
},
|
|
"file_denylist": [],
|
|
"startup": ".\/rethinkdb --bind 0.0.0.0 --cluster-port {{SERVER_PORT}} --driver-port {{DRIVER_PORT}} --http-port {{HTTP_PORT}} --initial-password auto --no-http-admin",
|
|
"config": {
|
|
"files": "{}",
|
|
"startup": "{\r\n \"done\": \"Server ready\"\r\n}",
|
|
"logs": "{}",
|
|
"stop": "^C"
|
|
},
|
|
"scripts": {
|
|
"installation": {
|
|
"script": "#!\/bin\/bash\r\n\r\napt update\r\napt install -y wget tar binutils xz-utils\r\n\r\nARCH=$([[ \"$(uname -m)\" == \"x86_64\" ]] && echo \"amd64\" || echo \"arm64\")\r\n\r\nmkdir -p \/mnt\/server\r\n\r\ncd \/tmp\r\nwget https:\/\/download.rethinkdb.com\/repository\/debian-bullseye\/pool\/r\/rethinkdb\/rethinkdb_${VERSION}~0bullseye_${ARCH}.deb -O rethinkdb.deb\r\n\r\nar xv rethinkdb.deb\r\n\r\ntar xvf data.tar.xz\r\n\r\nmv \/tmp\/usr\/bin\/rethinkdb \/mnt\/server\r\n\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"",
|
|
"container": "debian:bullseye-slim",
|
|
"entrypoint": "bash"
|
|
}
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "Version",
|
|
"description": "",
|
|
"env_variable": "VERSION",
|
|
"default_value": "2.4.2",
|
|
"user_viewable": true,
|
|
"user_editable": true,
|
|
"rules": "required|string|max:20",
|
|
"field_type": "text"
|
|
},
|
|
{
|
|
"name": "Driver port",
|
|
"description": "",
|
|
"env_variable": "DRIVER_PORT",
|
|
"default_value": "25568",
|
|
"user_viewable": true,
|
|
"user_editable": false,
|
|
"rules": "required|string|max:10",
|
|
"field_type": "text"
|
|
},
|
|
{
|
|
"name": "Http port",
|
|
"description": "",
|
|
"env_variable": "HTTP_PORT",
|
|
"default_value": "25569",
|
|
"user_viewable": true,
|
|
"user_editable": false,
|
|
"rules": "required|string|max:10",
|
|
"field_type": "text"
|
|
}
|
|
]
|
|
} |