mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2025-04-17 18:18:11 +00:00
update Docker readme
This commit is contained in:
parent
d2fc26d47c
commit
568e78d3ef
1 changed files with 15 additions and 21 deletions
|
@ -109,29 +109,23 @@ container rebuilds or pulls from Docker Hub.
|
|||
|
||||
Your docker host will show the image as online once the build process is completed. This will build the app to `http://localhost:3001`.
|
||||
|
||||
## ⚠️ Vector DB support ⚠️
|
||||
|
||||
Out of the box, all vector databases are supported. Any vector databases requiring special configuration are listed below.
|
||||
|
||||
### Using local ChromaDB with Dockerized AnythingLLM
|
||||
|
||||
- Ensure in your `./docker/.env` file that you have
|
||||
|
||||
```
|
||||
#./docker/.env
|
||||
...other configs
|
||||
|
||||
VECTOR_DB="chroma"
|
||||
CHROMA_ENDPOINT='http://host.docker.internal:8000' # Allow docker to look on host port, not container.
|
||||
# CHROMA_API_HEADER="X-Api-Key" // If you have an Auth middleware on your instance.
|
||||
# CHROMA_API_KEY="sk-123abc"
|
||||
|
||||
...other configs
|
||||
|
||||
```
|
||||
|
||||
## Common questions and fixes
|
||||
|
||||
### Cannot connect to service running on localhost!
|
||||
|
||||
If you are in docker and cannot connect to a service running on your host machine running on a local interface or loopback:
|
||||
|
||||
- `localhost`
|
||||
- `127.0.0.1`
|
||||
- `0.0.0.0`
|
||||
|
||||
> [!IMPORTANT]
|
||||
> On linux `http://host.docker.internal:xxxx` does not work.
|
||||
> Use `http://172.17.0.1:xxxx` instead to emulate this functionality.
|
||||
|
||||
Then in docker you need to replace that localhost part with `host.docker.internal`. For example, if running Ollama on the host machine, bound to http://127.0.0.1:11434 you should put `http://host.docker.internal:11434` into the connection URL in AnythingLLM.
|
||||
|
||||
|
||||
### API is not working, cannot login, LLM is "offline"?
|
||||
|
||||
You are likely running the docker container on a remote machine like EC2 or some other instance where the reachable URL
|
||||
|
|
Loading…
Add table
Reference in a new issue