Document-centric transmission cache — validated, versioned JSON delivery via webhooks.
239
A document-centric transmission cache for smart-endpoints/dumb-pipes architectures — validated, versioned JSON document delivery between data producers and consumers.
TamaDB receives JSON documents, validates them against schemas, stores them temporarily with a configurable TTL, and pushes updates to registered consumers via webhooks. It is intentionally minimal: no complex queries, joins, or aggregations — its strengths are speed, schema enforcement, and reliable push delivery.
Images are multi-architecture: linux/amd64 and linux/arm64.
docker run --rm -p 3000:3000 teneriscc/tamadb:0.1.0
Verify it's up:
curl http://localhost:3000/health
# {"status":"ok","version":"0.1.0","storageMode":"auto","logLevel":"debug"}
By default TamaDB writes state under /app/.tamadb-data. Mount a volume there to keep data across restarts:
docker run -p 3000:3000 -v tamadb-data:/app/.tamadb-data teneriscc/tamadb:0.1.0
services:
tamadb:
image: teneriscc/tamadb:0.1.0
container_name: tamadb
ports:
- "3000:3000"
environment:
TAMADB_LOG_LEVEL: "debug" # debug | info | warn | error | silent
TAMADB_STORAGE_MODE: "auto" # auto | memory | disk | hybrid
volumes:
- tamadb-data:/app/.tamadb-data
restart: unless-stopped
volumes:
tamadb-data:
docker compose up -d
A ready-to-use compose.yaml (with a matching health check) is included in the source repository.
All configuration is via environment variables (all optional):
| Variable | Default | Description |
|---|---|---|
TAMADB_PORT | 3000 | HTTP port the API binds to |
TAMADB_HOST | 0.0.0.0 | Network interface to bind |
TAMADB_LOG_LEVEL | debug | debug | info | warn | error | silent |
TAMADB_STORAGE_MODE | auto | auto | memory | disk | hybrid |
# Example: quieter logs, in-memory only (no persistence)
docker run --rm -p 3000:3000 \
-e TAMADB_LOG_LEVEL=info \
-e TAMADB_STORAGE_MODE=memory \
teneriscc/tamadb:0.1.0
HEALTHCHECK against /healthSIGTERMApache License 2.0.
Content type
Image
Digest
sha256:2d934f33f…
Size
58.8 MB
Last updated
6 days ago
docker pull teneriscc/tamadb