Skip to content

Commit

Permalink
added debug abilities using new docker compose debug yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Formartha committed Mar 14, 2024
1 parent 7103640 commit 466e97c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ You can use upsert api to ingest the vectors.

To initiate the stack, execute the following command:
-----------------------------------------------------
DEVICE=/path/to/downloaded/model LM_MODEL=model-name docker compose up -d
```DEVICE=/path/to/downloaded/model LM_MODEL=model-name docker compose -f docker-compose.yaml up -d```

another option for debug could be taking the base of the docker-compose and appending the debug (attached as reference)

```DEVICE=/path/to/downloaded/model LM_MODEL=model-name docker compose -f docker-compose.yaml -f docker-compose-debug.yaml up -d```

RestAPI:
-------
Expand All @@ -44,4 +48,4 @@ Troubleshoot
------------
There is a known issue to install docker-compose on Mx processors (Mac), to fix it you should.
1. pip3 install "cython<3.0.0" wheel && pip3 install pyyaml==5.4.1 --no-build-isolation
2. pip3 install docker-compose
2. pip3 install docker-compose
13 changes: 13 additions & 0 deletions docker-compose-debug.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: '3'
services:
# this needs to be enabled when https://github.com/qdrant/qdrant-web-ui/issues/94 is solved
# qdrant-container:
# ports:
# - "6333:6333"
ai:
ports:
- "5555:5555"

redis-commander:
ports:
- "6379:6379"

0 comments on commit 466e97c

Please sign in to comment.