mirror of
https://github.com/michivonah/docker.git
synced 2025-12-22 20:36:27 +01:00
add ollama
This commit is contained in:
parent
5626a39d97
commit
677f81eba3
1 changed files with 21 additions and 0 deletions
21
ollama/docker-compose.yml
Normal file
21
ollama/docker-compose.yml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
version: "3"
|
||||
services:
|
||||
ollama:
|
||||
image: ollama/ollama
|
||||
container_name: ollama
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 11434:11434
|
||||
volumes:
|
||||
- ./ollama:/root/.ollama
|
||||
|
||||
open-webui:
|
||||
image: ghcr.io/open-webui/open-webui:main
|
||||
container_name: open-webui
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 3000:8080
|
||||
environment:
|
||||
- OLLAMA_BASE_URL=http://ollama:11434
|
||||
volumes:
|
||||
- ./open-webui:/app/backend/data
|
||||
Loading…
Add table
Add a link
Reference in a new issue