Merge pull request #1949 from parkervcp/rethinkdb

add rethinkdb
This commit is contained in:
Michael (Parker) Parker 2022-11-09 09:20:39 -05:00 committed by GitHub
commit fe105d3e71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 88 additions and 0 deletions

View File

@ -75,6 +75,7 @@ If you are reading this it looks like you are looking to add an egg to your serv
### noSQL
* [MongoDB](/database/nosql/mongodb)
* [rethinkdb](/database/nosql/rethinkdb)
### SQL Databases

View File

@ -12,6 +12,10 @@
https://www.mongodb.com/
### [rethinkdb](nosql/rethinkdb)
https://rethinkdb.com/
## SQL Databases
### [mariadb](sql/mariadb)

View File

@ -0,0 +1,21 @@
# Rethinkdb
## [Website](https://rethinkdb.com/)
The open-source database for the realtime web
## Notes
- The web dashboard by default is disabled (remove the ` --no-http-admin` flag from startup to enable).
- It defaults bind to 0.0.0.0 what is all interfaces so it is public availble.
- On first start a admin pasword is randomly generated.
### Server Ports
Ports required to run the server in a table format.
| Port | default |
|---------|---------|
| cluster | 25567 |
| driver | 25568 |
| http | 25569 |

View File

@ -0,0 +1,62 @@
{
"_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"
}
]
}