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

App Submission: Ollama #2114

Merged
merged 4 commits into from
Jan 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added ollama/data/.gitkeep
Empty file.
16 changes: 16 additions & 0 deletions ollama/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: '3.7'

Check notice on line 1 in ollama/docker-compose.yml

View workflow job for this annotation

GitHub Actions / Lint apps

Potentially using unsafe user in service "ollama"

The default container user "root" can lead to security vulnerabilities. If you are using the root user, please try to specify a different user (e.g. "1000:1000") in the compose file or try to set the UID/PUID and GID/PGID environment variables to 1000.

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 change: 1 addition & 0 deletions ollama/exports.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export APP_OLLAMA_URL="http://ollama_ollama_1:11434"
39 changes: 39 additions & 0 deletions ollama/umbrel-app.yml
Original file line number Diff line number Diff line change
@@ -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:

Check warning on line 31 in ollama/umbrel-app.yml

View workflow job for this annotation

GitHub Actions / Lint apps

"icon" and "gallery" needs to be empty for new app submissions

The "icon" and "gallery" fields must be empty for new app submissions as it is being created by the Umbrel team.
- 1.jpg
- 2.jpg
- 3.jpg
defaultUsername: ""
defaultPassword: ""
dependencies: []
releaseNotes: ""
path: ""