crudjt/crudjt-server

Sponsored OSS

By CRUDJT

โ€ขUpdated 3 months ago

CRUDJT backend server container image

Image
Networking
Web servers
Databases & storage
0

524

crudjt/crudjt-server repository overview

CRUDJT logo

Persistent, revocable tokens for distributed systems

โ CRUDJT Server Docker Image

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โ 


โ ๐Ÿš€ Quick Start

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 VariableDescriptionDefault
CRUDJT_CLIENT_PORTPort the client listens on50051
STORE_JTPath to server-side token storage directory./store_jt
CRUDJT_SECRETSPath to the directory containing the server secret key file./crudjt_secrets
CRUDJT_DOCKER_HOSTHost the server listens on0.0.0.0
CRUDJT_DOCKER_PORTPort the server listens on50051

โ ๐Ÿ”Œ Official SDKs

CRUDJT Server is compatible with all official SDKs:

For usage examples, see the README of each SDK repository

โ ๐Ÿงช CI / Testing Example

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

โ ๐Ÿท Version Compatibility

All official SDKs are compatible with the server 1.x line. SDKs follow independent semantic versioning

Server VersionRubyPythonJavaJavaScriptElixirErlangGoPHP
1.x1.0.x1.0.x1.0.x1.0.x1.0.x1.0.x1.0.x1.0.x

Tag summary

Content type

Image

Digest

sha256:fc8726d70โ€ฆ

Size

462.1 MB

Last updated

3 months ago

docker pull crudjt/crudjt-server:1.0.0

This week's pulls

Pulls:

71

Last week