Files
Baradb/docker-compose.yml
T
dimgigov 5cb26ca74d fix: major bug audit + fixes — honest PLAN.md
Critical bugs fixed:
- SELECT now returns actual row data (was returning empty arrays)
- WHERE filter evaluation now works (was pass-through stub)
- ORDER BY sorting now works (was no-op)
- UPDATE execution implemented (was no-op stub)
- DELETE uses WHERE filter (was key-match only)
- B-Tree point reads return actual row data (was returning count only)
- EXPLAIN returns plan string (was computed then discarded)
- UNIQUE constraint uses B-Tree index (was memtable scan only)
- DEFAULT values work for int/bool/float (was string-only)
- HTTP /query returns real JSON rows with columns
- Docker healthcheck uses wget (Alpine has no curl)

Updated PLAN.md with honest status:
- Marked what's truly done vs stub vs not implemented
- Honest score: 8/10 (not 9.5/10)
- Clear list of what actually works in production

All 216 tests pass
2026-05-06 11:55:43 +03:00

24 lines
463 B
YAML

version: "3.9"
services:
baradb:
build: .
ports:
- "9000:9000"
- "8080:8080"
- "8081:8081"
volumes:
- baradb_data:/data
environment:
- BARADB_PORT=9000
- BARADB_DATA_DIR=/data
- BARADB_HTTP_PORT=8080
- BARADB_WS_PORT=8081
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost:8080/health"]
interval: 10s
timeout: 5s
retries: 3
volumes:
baradb_data: