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

feat: add Ollama WebUI Just script #1224

Merged
merged 4 commits into from
May 3, 2024
Merged

feat: add Ollama WebUI Just script #1224

merged 4 commits into from
May 3, 2024

Conversation

p5
Copy link
Member

@p5 p5 commented Apr 27, 2024

Creates the just script for setting up an Ollama WebUI quadlet.
We needed to implement a custom network to bypass the recent Pasta 🍝 Podman networking limitations, where it discourages you putting stuff on the host network.

@m2Giles
Copy link
Member

m2Giles commented Apr 28, 2024

On F40, podman is now podman 5 and defaults to Pasta for it's network backend. This is a breaking change from slirp4netns.

The openwebui documentation calls out the necessary changes. I had to add the TCP port for the ollama quadlet and a host entry for it to work.

@ericcurtin
Copy link

open-webui works fine for me, but I'm still on Fedora 39 and podman version 4.9.4 though

https://github.com/ericcurtin/podman-ollama

@p5
Copy link
Member Author

p5 commented May 2, 2024

open-webui works fine for me, but I'm still on Fedora 39 and podman version 4.9.4 though

https://github.com/ericcurtin/podman-ollama

Yeah. I need to add some extra args when using the default network, but when using a custom network, it works fine. Will push the required args tonight.

Something about Podman 5 default network not having NAT or similar

@p5 p5 changed the title [WIP] feat: add Ollama WebUI Just script feat: add Ollama WebUI Just script May 2, 2024
@p5 p5 marked this pull request as ready for review May 2, 2024 22:47
@p5 p5 requested a review from castrojo as a code owner May 2, 2024 22:47
@p5 p5 requested review from noelmiller and m2Giles May 2, 2024 22:47
@castrojo castrojo enabled auto-merge May 3, 2024 01:58
@castrojo castrojo added this pull request to the merge queue May 3, 2024
Merged via the queue into main with commit 6b58f98 May 3, 2024
64 checks passed
@castrojo castrojo deleted the ollama-web-quadlet branch May 3, 2024 02:36
@ericcurtin
Copy link

Upgraded just to see if I could reproduce on Fedora 40 and podman 5.

It worked, but I think you are right, it's because I set up a pod with it's own custom network

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