Self-host RethinkDB with Levelrail
A document database with live query feeds and a web admin console, on the official image with a data volume. The console has no login, so restrict access before exposing it. Client driver port 28015 stays private.
- Authorrethinkdb
- LicenceApache-2.0
- Memory512 MiB
- Services1
How to self-host RethinkDB
-
Pull the images
One image is pulled on your server.
Show images
rethinkdb:2.4.4-bookworm-slim
-
Create the app
One service starts in a single Compose app, with 1 named volume mount for your data, on ports 8080, 28015.
-
Fill in the secrets
You do not have to fill in anything.
-
Open it
Without a domain the app gets an sslip.io address; add --domain SERVICE=HOST to use your own.
After the first start
- Open the console to manage tables, and point drivers from this project at rethinkdb:28015.
RethinkDB requirements
- Memory
- About 512 MiB
- Architectures
- amd64 unknown, arm64 unknown
- Ports
- 8080, 28015
- Domain
- Optional, an sslip.io address is used without one
- Settings
- none to fill in
- License
- Apache-2.0, permissive license
- Listed. It is in the catalog but not verified. Back up the data volume before changing an image tag.
Install Levelrail first
On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then RethinkDB. New to Levelrail? Install it on a fresh VPS first.
docker pull ghcr.io/glincker/levelrail:latest Then levelrail-cli login --device. See Getting started and the RethinkDB docs page.
Deploy RethinkDB your way
Every format below deploys the same pinned images. Pick the one that fits how you work.
Deploy RethinkDB from the CLI
levelrail-cli templates deploy rethinkdb --name my-rethinkdb Deploy RethinkDB with the API
curl -X POST -H "Authorization: Bearer $TOKEN" \
https://levelrail.example.com/api/v1/service-templates/rethinkdb/deploy RethinkDB configuration
RethinkDB services
| Service | Image | Ports | Volumes |
|---|---|---|---|
| rethinkdb | rethinkdb:2.4.4-bookworm-slim | 8080, 28015 | rethink_data -> /data |
RethinkDB environment variables
The catalog lists no environment variables for this template.
Ports and volumes
- Ports
- 8080, 28015
- Volumes
- 1 named mount: rethink_data -> /data
RethinkDB FAQ
How much memory does RethinkDB need?
The catalog lists about 512 MiB of memory for RethinkDB.
Does RethinkDB run on arm64?
For RethinkDB, arm64 support is not confirmed; amd64 is unknown.
What licence is RethinkDB under?
RethinkDB is licensed under Apache-2.0, which is permissive, with few conditions on reuse.
Does RethinkDB need configuration before it starts?
No. The template fills in its own defaults.
Which ports does RethinkDB use?
RethinkDB listens on ports 8080 and 28015 inside the stack.
Where does RethinkDB keep its data?
In a named volume: rethink_data mounted at /data.
Can I deploy RethinkDB on Dokploy or Dokku?
The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list we compared does not have an entry with the same id for RethinkDB, so on Dokploy you would use a Docker Compose application with the file from this page. Dokku deploys container images with its own commands, so the pinned image rethinkdb:2.4.4-bookworm-slim is what you deploy there.