-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run logdetective server in a container #51
Conversation
36f2ad2
to
c9c4425
Compare
@jpodivin @jkonecny12 thanks for your reviews! Please check again :) |
Signed-off-by: Tomas Tomecek <[email protected]>
c9c4425
to
20bf9f9
Compare
I would recommend to move all the container stuff ( |
Can you please elaborate? You are essentially asking me to rewrite this PR without providing substantial argument why.
I found out pretty quickly why it's there:
|
so we can store ports, hosts, paths in one place and just reference it also simplifies the Containerfile there are no models being downloaded anymore, you need to supply them using $MODELS_PATH - this directory is bindmounted inside the llama-cpp container Signed-off-by: Tomas Tomecek <[email protected]> Co-authored-by: Jiri Podivin <[email protected]> Co-authored-by: Jiri Konecny <[email protected]>
20bf9f9
to
577fb82
Compare
It was just my comment (and you can say wish) to keep main directory clean and use subdirectories to separate usage. However, I don't insist on that, it's fine in a way as it is. For that reason it was only a comment not review :). Feel free to merge it as it is. |
1. align port numbers b/w code, composefile and .env 2. require PORT env vars to be nonempty 3. containerfile→build: specify containerfile path 4. fixup interpolation within .env address review comments from @jpodivin Signed-off-by: Tomas Tomecek <[email protected]>
so we don't interpolate inside .env which doesn't work correctly on all compose implmentations: ``` [server] | requests.exceptions.ConnectionError: HTTPConnectionPool(host='$%7bllama_cpp_host%7d', port=8000): Max retries exceeded with url: /v1/completions (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7ff685f4bad0>: Failed to establish a new connection: [Errno -2] Name or service not known')) ```
577fb82
to
3b9e186
Compare
No description provided.