Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The fastest way to try CXDB is with the pre-built Docker image:

```bash
# Run the server (binary protocol :9009, HTTP :9010)
docker run -p 9009:9009 -p 9010:9010 -v $(pwd)/data:/data cxdb/cxdb:latest
docker run -p 9009:9009 -p 9010:80 -v $(pwd)/data:/data cxdb/cxdb:latest

# Create a context and append a turn (HTTP write path)
curl -X POST http://localhost:9010/v1/contexts/create \
Expand Down Expand Up @@ -74,7 +74,7 @@ pnpm build
docker build -t cxdb:latest .

# Run with persistent storage
docker run -p 9009:9009 -p 9010:9010 \
docker run -p 9009:9009 -p 9010:80 \
-v $(pwd)/data:/data \
-e CXDB_DATA_DIR=/data \
cxdb:latest
Expand Down
2 changes: 1 addition & 1 deletion docs/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ docker run -d \
--name cxdb \
--restart unless-stopped \
-p 9009:9009 \
-p 9010:9010 \
-p 9010:80 \
-v /var/lib/cxdb:/data \
-e CXDB_DATA_DIR=/data \
-e CXDB_LOG_LEVEL=info \
Expand Down
4 changes: 2 additions & 2 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ Run the server:
docker run -d \
--name cxdb \
-p 9009:9009 \
-p 9010:9010 \
-p 9010:80 \
-v $(pwd)/data:/data \
cxdb:latest
```

This starts:
- Binary protocol server on `:9009`
- HTTP gateway on `:9010`
- UI and HTTP API on `:9010` (via nginx proxy)
- Data persisted to `./data`

### Option B: From Source
Expand Down
Loading