Skip to content

Commit

Permalink
docs: update README with new configuration section
Browse files Browse the repository at this point in the history
  • Loading branch information
Björn Urban committed Feb 27, 2024
1 parent 1f6b1ad commit 3d8a3f7
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,16 @@ This configuration mounts a local directory (`./data`) to the `/app/data` direct
Alternatively, you can use `docker run` to start the container:

```bash
docker run -e PAPERLESS_BASE_URL=http://your-paperless-instance -e PAPERLESS_TOKEN=yourapitoken bjoern5urban/doclytics:latest
docker run --network="host" -e PAPERLESS_BASE_URL=http://your-paperless-instance -e PAPERLESS_TOKEN=yourapitoken bjoern5urban/doclytics:latest
```

Ensure to replace `http://your-paperless-instance` and `yourapitoken` with your actual Paperless instance URL and API token.
> [!IMPORTANT]
> When using `ollama serve` on the host system, please ensure you set the `OLLAMA_HOST` environment variable to `host.docker.internal`. This setting is crucial for proper communication between your containerized application and the Ollama service running on the host.

```bash
export OLLAMA_HOST=host.docker.internal
## Usage
Expand Down

0 comments on commit 3d8a3f7

Please sign in to comment.