Skip to content

Instantly share code, notes, and snippets.

@dmouse
Created January 27, 2025 18:54
Show Gist options
  • Select an option

  • Save dmouse/473ab785c7c971ddb042df15137204b7 to your computer and use it in GitHub Desktop.

Select an option

Save dmouse/473ab785c7c971ddb042df15137204b7 to your computer and use it in GitHub Desktop.
Lando.dev Ollama open-web-ui
name: ai
proxy:
openwebui:
- bot.lndo.site:3030
tooling:
ollama:
service: ollama
description: "Run ollama commands"
cmd: ollama
services:
openwebui:
api: 3
type: compose
app_mount: false
ssl: true
sslExpose: false
services:
image: ghcr.io/open-webui/open-webui:0.5.7
command: bash start.sh
environment:
PORT: 3030
OLLAMA_BASE_URLS: "http://ollama.ai.internal:11434"
volumes:
- ./ui:/app/backend/data
ollama:
api: 3
type: compose
app_mount: false
ssl: true
sslExpose: false
services:
image: ollama/ollama:0.5.7
privileged: true
runtime: nvidia
command: /bin/ollama serve
volumes:
- ./ollama:/root/.ollama
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
@dmouse
Copy link
Copy Markdown
Author

dmouse commented Jan 27, 2025

lando ollama

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment