You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AI: Add support for OLLAMA_API_KEY and OLLAMA_BASE_URL to configure Ollama #5361
As an Ollama Cloud user, I want to be able to set my API key via OLLAMA_API_KEY and the service base URL via OLLAMA_BASE_URL, rather than having to set them manually in my vision.yml file.
@graciousgrey@omerdduran These changes should ensure that the built-in caption model default/example only runs manually and isn't flagged as a default model. This is to prevent the standard vision config from always sending requests to http://ollama:11434/api/generate during or after indexing, since most users either won't have an Ollama instance, or if they have one, it might use a different URL. Please make sure to double-check that this works! Alternatively, we can remove the built-in caption model default/example.
services:
photoprism:
image: photoprism/photoprism:previewenvironment:
OLLAMA_BASE_URL: "http://ollama:11434"# use "https://ollama.com" for Ollama CloudOLLAMA_API_KEY: ""# API key required to access Ollama (optional)
Activity
AI: Use OLLAMA_API_KEY as API auth token if specified #5361
AI: Update model Options overview in docs to align with code #5361
AI: Set default Model & URI depending on OLLAMA_API_KEY env var #5361
AI: Ensure default caption model only runs manual #5361
lastzero commentedon Dec 4, 2025
@graciousgrey @omerdduran These changes should ensure that the built-in
captionmodel default/example only runs manually and isn't flagged as a default model. This is to prevent the standard vision config from always sending requests tohttp://ollama:11434/api/generateduring or after indexing, since most users either won't have an Ollama instance, or if they have one, it might use a different URL. Please make sure to double-check that this works! Alternatively, we can remove the built-in caption model default/example.5 remaining items
AI: Remove OLLAMA_BASE_URL default from Dockerfiles #5361
Setup: Add OLLAMA_API_KEY and OLLAMA_BASE_URL to Compose files #5361
lastzero commentedon Dec 11, 2025
You can use our preview build to test this:
CI: Fix typo in docker/develop/questing/Dockerfile #5361
Dev: Upgrade base image from 251208-questing to 251211-questing #5361
spotlesscoder commentedon Feb 22, 2026
is this still only in the preview build?
lastzero commentedon Feb 23, 2026
Yes, but a new stable release is planned for the end of February or early March.
lastzero commentedon Mar 5, 2026
@spotlesscoder This is now available as part of our latest stable release: