From 28d255b8e92e3f6a5339e3619ef5f56bcafcfb16 Mon Sep 17 00:00:00 2001 From: "martin.legrand" Date: Sat, 13 Sep 2025 20:34:27 +0200 Subject: [PATCH] update readme.md --- README.md | 12 ++++++++++-- start_services.sh | 2 ++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dc81162..c63f6e1 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ mv .env.example .env ### 2. Change the .env file content ```sh -SEARXNG_BASE_URL="http://127.0.0.1:8080" +SEARXNG_BASE_URL="http://searxng:8080" # http://127.0.0.1:8080 if running on host REDIS_BASE_URL="redis://redis:6379/0" WORK_DIR="/Users/mlg/Documents/workspace_for_ai" OLLAMA_PORT="11434" @@ -74,7 +74,7 @@ ANTHROPIC_API_KEY='optional' Update the `.env` file with your own values as needed: -- **SEARXNG_BASE_URL**: Leave unchanged +- **SEARXNG_BASE_URL**: Leave unchanged unless running on host with CLI mode. - **REDIS_BASE_URL**: Leave unchanged - **WORK_DIR**: Path to your working directory on your local machine. AgenticSeek will be able to read and interact with these files. - **OLLAMA_PORT**: Port number for the Ollama service. @@ -623,6 +623,14 @@ raise ValueError("SearxNG base URL must be provided either as an argument or via ValueError: SearxNG base URL must be provided either as an argument or via the SEARXNG_BASE_URL environment variable.` ``` +This might arise if you are running the CLI mode with the wrong base url for searxng. + +The SEARXNG_BASE_URL should be depending on whenever you run in docker or on host: + +**Run on host**: `SEARXNG_BASE_URL="http://localhost:8080"` + +**Run fully in docker (web interface)**: `SEARXNG_BASE_URL="http://searxng:8080"` + ## FAQ **Q: What hardware do I need?** diff --git a/start_services.sh b/start_services.sh index db1486b..967a5b7 100755 --- a/start_services.sh +++ b/start_services.sh @@ -72,8 +72,10 @@ if ! command_exists docker-compose && ! docker compose version >/dev/null 2>&1; fi if command_exists "docker compose"; then + echo "Using newer docker compose (not docker-compose)." COMPOSE_CMD="docker compose" else + echo "Using old docker-compose." COMPOSE_CMD="docker-compose" fi