update readme.md
This commit is contained in:
@@ -57,7 +57,7 @@ mv .env.example .env
|
|||||||
### 2. Change the .env file content
|
### 2. Change the .env file content
|
||||||
|
|
||||||
```sh
|
```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"
|
REDIS_BASE_URL="redis://redis:6379/0"
|
||||||
WORK_DIR="/Users/mlg/Documents/workspace_for_ai"
|
WORK_DIR="/Users/mlg/Documents/workspace_for_ai"
|
||||||
OLLAMA_PORT="11434"
|
OLLAMA_PORT="11434"
|
||||||
@@ -74,7 +74,7 @@ ANTHROPIC_API_KEY='optional'
|
|||||||
|
|
||||||
Update the `.env` file with your own values as needed:
|
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
|
- **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.
|
- **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.
|
- **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.`
|
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
|
## FAQ
|
||||||
|
|
||||||
**Q: What hardware do I need?**
|
**Q: What hardware do I need?**
|
||||||
|
|||||||
@@ -72,8 +72,10 @@ if ! command_exists docker-compose && ! docker compose version >/dev/null 2>&1;
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if command_exists "docker compose"; then
|
if command_exists "docker compose"; then
|
||||||
|
echo "Using newer docker compose (not docker-compose)."
|
||||||
COMPOSE_CMD="docker compose"
|
COMPOSE_CMD="docker compose"
|
||||||
else
|
else
|
||||||
|
echo "Using old docker-compose."
|
||||||
COMPOSE_CMD="docker-compose"
|
COMPOSE_CMD="docker-compose"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user