Installation
EntropyDB is built from source. There are no published container images, OS packages or SDK packages yet.
Option A: Docker Compose (recommended)
Requirements: Docker with Compose v2 and buildx, and about 2 GB of free memory.
git clone https://github.com/buildwithteky/entropydb.git
cd entropydb
cp .env.example .env
# edit .env: set ENTROPYDB_ADMIN_EMAIL and ENTROPYDB_ADMIN_PASSWORD (12+ characters)
docker compose up -d --build
docker compose ps # wait until entropydb shows "healthy"- HTTP API:
127.0.0.1:8080· web console:127.0.0.1:3000· PostgreSQL wire protocol:127.0.0.1:5433 - The ports bind to loopback only. To expose them, set
ENTROPYDB_BIND=0.0.0.0and put TLS in front. - Data is kept in the
entropydb-datavolume.docker compose downkeeps it;down -vdeletes it.
Option B: Native (no Docker)
Requirements: JDK 21+ and Maven 3.9+ on macOS or Linux.
git clone https://github.com/buildwithteky/entropydb.git
cd entropydb
cp .env.example .env # set the admin email and password
bin/entropydb build # compile the server jar
bin/entropydb start # run in the background; state goes in ./data
bin/entropydb statusOther commands: stop, restart, logs -f, run (foreground), backup, backups, restore <name> and env. The native script runs the server only. To run the web console, run npm ci && npm run build && npm startinside frontend/.
Three-node cluster
docker compose -f docker-compose.cluster.yml --env-file .env up -d --buildThis runs three Raft-replicated nodes on ports 8081–8083, sharing a PostgreSQL control database. Read docs/deployment/multi-node.md in the repository for the guarantees and the known limits.
SDKs
A Python client (sdks/python, package entropydb) and a Node.js client (sdks/nodejs, package @entropydb/client) are in the repository. Neither is published to PyPI or npm yet, so install them from the checkout:
pip install ./sdks/python
npm install ./sdks/nodejsConfiguration
Every setting is an environment variable, documented in .env.example and in docs/reference/configuration.md. Next: Quick Start.