[GH-ISSUE #2335] Setting OLLAMA_ORIGINS #63388

Open
opened 2026-05-03 13:17:20 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @prologic on GitHub (Feb 3, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/2335

Originally assigned to: @ParthSareen on GitHub.

I came across this nifty little Chrome extensions called Lumos and according to it's docs I have to run ollama like this:

OLLAMA_ORIGINS=chrome-extension://* ollama serve

I actually happen to run the Ollama macOS App that automatically updated and launched at startup with a little tray icon.

I know I can edit it's launchctl configuration file, but that'll get overridden on the next update. Can we have a simple "Settings" panel on the GUI so we can add things like this? 🙏

Originally created by @prologic on GitHub (Feb 3, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/2335 Originally assigned to: @ParthSareen on GitHub. I came across this nifty little Chrome extensions called [Lumos](https://github.com/andrewnguonly/Lumos) and according to it's docs I have to run `ollama` like this: ```console OLLAMA_ORIGINS=chrome-extension://* ollama serve ``` I _actually_ happen to run the Ollama macOS App that automatically updated and launched at startup with a little tray icon. I know I can edit it's launchctl configuration file, but that'll get overridden on the next update. Can we have a simple "Settings" panel on the GUI so we can add things like this? 🙏
GiteaMirror added the feature request label 2026-05-03 13:17:20 -05:00
Author
Owner

@sublimator commented on GitHub (Feb 8, 2024):

@prologic

https://github.com/ollama/ollama/pull/1797#issuecomment-1905041824 <-- edit: you can configure launchctl to use set the environment variable in a way that is resistant to updates

Though you probably don't want to use * when you're using it in the background. Get the actual extension id.

<!-- gh-comment-id:1933676859 --> @sublimator commented on GitHub (Feb 8, 2024): @prologic https://github.com/ollama/ollama/pull/1797#issuecomment-1905041824 <-- edit: you can configure launchctl to use set the environment variable in a way that is resistant to updates Though you probably don't want to use `*` when you're using it in the background. Get the actual extension id.
Author
Owner

@sublimator commented on GitHub (Feb 8, 2024):

also, apparently a GUI is in the works

<!-- gh-comment-id:1933696581 --> @sublimator commented on GitHub (Feb 8, 2024): also, apparently a GUI is in the works
Author
Owner

@OICHI56 commented on GitHub (Sep 19, 2025):

OLLAMA_ORIGINS="*" ollama serve

<!-- gh-comment-id:3312778792 --> @OICHI56 commented on GitHub (Sep 19, 2025): OLLAMA_ORIGINS="*" ollama serve
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#63388