Skip to content

Commit

Permalink
Merge pull request #29 from B-urb/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
B-urb authored Apr 22, 2024
2 parents 294e2d6 + 94f4b54 commit 00b2931
Show file tree
Hide file tree
Showing 5 changed files with 130 additions and 47 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- development
pull_request:
branches:
- '*'
- 'master'

env:
CI: true
Expand Down
161 changes: 122 additions & 39 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ edition = "2021"

[dependencies]
tokio = { version = "1", features = ["full"] }
ollama-rs = "0.1.7"
reqwest = {version = "0.11.24", features = ["json"]}
serde_json = "1.0.114"
serde = "1.0.197"
ollama-rs = "0.1.9"
reqwest = {version = "0.12.4", features = ["json"]}
serde_json = "1.0.116"
serde = "1.0.198"
substring = "1.4.5"

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.76
FROM rust:1.77

WORKDIR /usr/doclytics
COPY . .
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Here's an example `docker-compose.yml` snippet for setting up Doclytics:
version: '3'
services:
doclytics:
image: bjoern5urban/doclytics:latest
image: bjoern5urban/doclytics:v1.0.0
environment:
PAPERLESS_BASE_URL: http://your-paperless-instance
PAPERLESS_TOKEN: yourapitoken
Expand All @@ -89,7 +89,7 @@ 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 --network="host" -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:v1.0.0
```
Ensure to replace `http://your-paperless-instance` and `yourapitoken` with your actual Paperless instance URL and API token.
> [!IMPORTANT]
Expand Down

0 comments on commit 00b2931

Please sign in to comment.