Skip to content
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

don't check ollama connection on linux #80

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

psschwei
Copy link
Contributor

Signed-off-by: Paul S. Schweigert [email protected]

Configuring docker on linux to connect to ollama requires making edits in the bee-api container's /etc/hosts file once all pods are up and running. As a result, for linux users the configure_ollama command will always fail.

This PR skips the ollama connection check for linux users

@psschwei psschwei requested a review from a team as a code owner January 17, 2025 16:53
bee-stack.sh Show resolved Hide resolved
Signed-off-by: Paul S. Schweigert <[email protected]>

Configuring docker on linux to connect to ollama requires making edits
in the bee-api container's /etc/hosts file once all pods are up and
running. As a result, for linux users the `configure_ollama` command
will always fail.

This PR skips the ollama connection check for linux users
@csabakecskemeti
Copy link

I think I'm addressing this in #81

@jezekra1
Copy link
Collaborator

please see my comment in the other issue:

#81 (comment)

Can we just try extra_hosts first? I think it was unsupported in older podman version so I removed it, but now the situation might have changed or we might decide to drop support for older podman versions because of this.

@psschwei
Copy link
Contributor Author

I think I'm addressing this in #81

I think we'll still need both -- this check runs during setup (i.e. creating the .env file), while your PR fixes the startup (i.e. when the containers are actually run).

@psschwei
Copy link
Contributor Author

Can we just try extra_hosts first?

I left a comment on the other PR, but the TLDR is no, I don't think extra_hosts will work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants