CRUDJT backend server container image
524
Persistent, revocable tokens for distributed systems
CRUDJT is a high-performance, B-tree backed token engine that provides durable, stateful session management across distributed environments.
It stores authentication and authorization state on disk with predictable resource usage and low-latency access, making it suitable for long-lived sessions, microservices, and multi-node deployments.
This Docker image runs the CRUDJT runtime server and is intended to be used together with the official CRUDJT SDKsโ
The recommended way to run CRUDJT Server is via Docker Compose:
Create a docker-compose.yml
nano docker-compose.yml
Paste the following into docker-compose.yml
services:
crudjt-server:
image: crudjt/crudjt-server:latest
restart: unless-stopped
ports:
- "${CRUDJT_CLIENT_PORT:-50051}:50051"
volumes:
- "${STORE_JT:-./store_jt}:/app/store_jt"
- "${CRUDJT_SECRETS:-./crudjt_secrets}:/app/secrets"
environment:
CRUDJT_DOCKER_HOST: 0.0.0.0
CRUDJT_DOCKER_PORT: 50051
Run server:
docker-compose up -d
The server will be available on localhost:50051
Ensure the secrets directory contains your secret key file at ./crudjt_secrets/secret_key.txt
| ENV Variable | Description | Default |
|---|---|---|
CRUDJT_CLIENT_PORT | Port the client listens on | 50051 |
STORE_JT | Path to server-side token storage directory | ./store_jt |
CRUDJT_SECRETS | Path to the directory containing the server secret key file | ./crudjt_secrets |
CRUDJT_DOCKER_HOST | Host the server listens on | 0.0.0.0 |
CRUDJT_DOCKER_PORT | Port the server listens on | 50051 |
CRUDJT Server is compatible with all official SDKs:
| Language | Repository |
|---|---|
| Ruby | crudjt-rubyโ |
| Python | crudjt-pythonโ |
| Java | crudjt-javaโ |
| JavaScript | crudjt-javascriptโ |
| Elixir | crudjt-elixirโ |
| Erlang | crudjt_erlangโ |
| Go | crudjt-goโ |
| PHP | crudjt-phpโ |
For usage examples, see the README of each SDK repository
You can run the server as a service dependency in CI pipelines:
services:
crudjt-server:
image: crudjt/crudjt-server:latest
ports:
- "${CRUDJT_CLIENT_PORT:-50051}:50051"
environment:
CRUDJT_DOCKER_HOST: 0.0.0.0
CRUDJT_DOCKER_PORT: 50051
Or directly with docker run:
docker run -d \
-p 50051:50051 \
-e CRUDJT_DOCKER_HOST=0.0.0.0 \
-e CRUDJT_DOCKER_PORT=50051 \
crudjt/crudjt-server:latest
All official SDKs are compatible with the server 1.x line. SDKs follow independent semantic versioning
| Server Version | Ruby | Python | Java | JavaScript | Elixir | Erlang | Go | PHP |
|---|---|---|---|---|---|---|---|---|
| 1.x | 1.0.x | 1.0.x | 1.0.x | 1.0.x | 1.0.x | 1.0.x | 1.0.x | 1.0.x |
Content type
Image
Digest
sha256:fc8726d70โฆ
Size
462.1 MB
Last updated
3 months ago
docker pull crudjt/crudjt-server:1.0.0Pulls:
71
Last week