App Submission: Ollama (#2114)

Co-authored-by: nmfretz <nmfretz@gmail.com>
This commit is contained in:
Alexander L. 2025-01-30 12:19:07 +01:00 committed by GitHub
parent 22c2dac7b8
commit 0a18f6f660
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 56 additions and 0 deletions

0
ollama/data/.gitkeep Normal file
View File

16
ollama/docker-compose.yml Normal file
View File

@ -0,0 +1,16 @@
version: '3.7'
services:
app_proxy:
environment:
APP_HOST: ollama_ollama_1
APP_PORT: 11434
PROXY_AUTH_ADD: "false"
ollama:
image: ollama/ollama:0.5.7@sha256:7e672211886f8bd4448a98ed577e26c816b9e8b052112860564afaa2c105800e
environment:
OLLAMA_ORIGINS: "*"
volumes:
- ${APP_DATA_DIR}/data:/root/.ollama
restart: on-failure

1
ollama/exports.sh Normal file
View File

@ -0,0 +1 @@
export APP_OLLAMA_URL="http://ollama_ollama_1:11434"

39
ollama/umbrel-app.yml Normal file
View File

@ -0,0 +1,39 @@
manifestVersion: 1
id: ollama
name: Ollama
tagline: Get up and running with large language models
category: ai
version: "0.5.7"
port: 11434
description: >-
Ollama allows you to download and run advanced AI models directly on your own hardware. Self-hosting AI models ensures full control over your data and protects your privacy.
⚠️ Before running a model, make sure your device has enough free RAM to support it. Attempting to run a model that exceeds your available memory could cause your device to crash or become unresponsive. Always check the model requirements before downloading or starting it.
**Getting Started:**
The easiest way to get started with Ollama is to install the Open WebUI app from the Umbrel App Store. Open WebUI will automatically connect to your Ollama setup, allowing you to manage model downloads and chat with your AI models effortlessly.
**Advanced Setup:**
If you want to connect Ollama to other apps or devices, here's how:
- Apps running on UmbrelOS: Use ollama_ollama_1 as the host and 11434 as the port when configuring other apps to connect to Ollama. For example, the API Base URL would be: http://ollama_ollama_1:11434.
- Custom Integrations: Connect Ollama to third-party apps or your own code using your UmbrelOS local domain (e.g., http://umbrel.local:11434) or your device's IP address, which you can find in the UmbrelOS Settings page (e.g., http://192.168.4.74:11434).
developer: Ollama
website: https://ollama.com/
submitter: al-lac
submission: https://github.com/getumbrel/umbrel-apps/pull/2114
repo: https://github.com/ollama/ollama
support: https://github.com/ollama/ollama/issues
gallery:
- 1.jpg
- 2.jpg
- 3.jpg
defaultUsername: ""
defaultPassword: ""
dependencies: []
releaseNotes: ""
path: ""