@@ -80,9 +80,9 @@ cd fractalmind
8080```
8181
8282** Docker Services:**
83- - ** SurrealDB** (port 8000): Database with persistent SSD storage in ` ./data/surrealdb/ `
84- - ** SearXNG** (port 8080 ): Local web search for REM phase
85- - ** FractalMind API** (port 9000 ): Main API server (default: 9000, configurable via SERVER_PORT )
83+ - ** SurrealDB** (port 8000): Database with persistent file storage in ` ./data/surrealdb/fractalmind.db `
84+ - ** SearXNG** (port 18080 ): Local web search for REM phase ( ` 8080 ` inside Docker network)
85+ - ** FractalMind API** (port 12000 ): Main API server (` 9000 ` inside Docker network )
8686
8787** Free LLM Models (Ollama Cloud):**
8888- ` nemotron-3-nano ` - 30B parameters, excellent for chat/summarization
@@ -97,7 +97,7 @@ cd fractalmind
9797** SearXNG Integration:**
9898- automatically included in docker-compose (profile: searxng)
9999- provides web search for REM phase
100- - runs on http://localhost:8080
100+ - runs on http://localhost:18080 (host) and http://searxng: 8080 (inside Docker)
101101- if unavailable, REM phase web search disabled (still works with local knowledge)
102102
1031032 . ** Build and run** :
@@ -124,7 +124,7 @@ cargo test
124124cargo test -- --ignored
125125
126126# Linting
127- cargo clippy
127+ cargo clippy -- -D warnings
128128
129129# Formatting
130130cargo fmt
@@ -172,7 +172,7 @@ Key variables in `.env`:
172172
173173``` bash
174174# Database
175- SURREAL_URL=ws ://localhost:8000
175+ SURREAL_URL=http ://localhost:8000
176176SURREAL_NS=fractalmind
177177SURREAL_DB=knowledge
178178
@@ -260,12 +260,12 @@ OLLAMA_API_KEY= # Empty for local
260260
261261``` bash
262262# Ingest content - FastEmbed handles embeddings automatically
263- curl -X POST http://localhost:9000 /v1/ingest \
263+ curl -X POST http://localhost:12000 /v1/ingest \
264264 -H " Content-Type: application/json" \
265265 -d ' {"content": "Your text here", "namespace": "global"}'
266266
267267# Query - embeddings retrieved from DB (no model needed)
268- curl -X POST http://localhost:9000 /v1/ask \
268+ curl -X POST http://localhost:12000 /v1/ask \
269269 -d ' {"query": "What is this about?", "namespace": "global"}'
270270```
271271
@@ -289,4 +289,4 @@ curl -X POST http://localhost:9000/v1/ask \
289289MIT
290290
291291<!-- AUTO-UPDATE-DATE -->
292- ** Última actualización:** 2026-02-26 15:51:01 -03
292+ ** Última actualización:** 2026-04-10
0 commit comments