https://github.com/stinis87/ddev-ollama
Run Ollama in DDEV
https://github.com/stinis87/ddev-ollama
ai ddev ddev-get docker ollama
Last synced: 5 months ago
JSON representation
Run Ollama in DDEV
- Host: GitHub
- URL: https://github.com/stinis87/ddev-ollama
- Owner: stinis87
- Created: 2025-02-16T18:53:14.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-25T08:05:29.000Z (over 1 year ago)
- Last Synced: 2025-03-25T08:37:17.218Z (over 1 year ago)
- Topics: ai, ddev, ddev-get, docker, ollama
- Language: Shell
- Homepage:
- Size: 68.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DDEV Ollama Add-on
The **DDEV Ollama Add-on** allows you to integrate [Ollama](https://ollama.com/), a powerful AI model runner, into your [DDEV](https://ddev.readthedocs.io/en/stable/) development environment. This add-on makes it easy to deploy and run language models locally, without the need for cloud-based services.
With this integration, developers working with DDEV can leverage AI models like **Llama 3**, **Mistral**, and others directly from their local machine. This is particularly useful for web developers who want to use large language models in their projects.
## Features
- **Seamless integration**: Easily install and configure Ollama within your existing DDEV setup.
- **Local AI model execution**: Run models like **Llama3**, **Mistral**, and more without relying on external services.
---
## Prerequisites
Before installing the add-on, ensure you have:
- [DDEV installed](https://ddev.readthedocs.io/en/stable/)
- A working Docker setup (since DDEV relies on Docker)
- Sufficient system resources for running AI models (depending on the complexity of the model)
---
## Installation
You can install the **DDEV Ollama Add-on** with a single command:
```bash
ddev get stinis87/ddev-ollama && ddev restart
```
---
## Usage
**Access the Ollama service:**
ddev ssh -s ollama
**Install and run a model:**
For example, to run the llama3.2:3b model:
ollama run llama3.2:3b
Ollama is now running on hostname: http://ollama, port: 11434