Ollama-chat / docker-compose.yml
X34o's picture
Update docker-compose.yml
345fbf3 verified
Raw
History Blame Contribute Delete
529 Bytes
version: '3.8'
services:
ollama:
image: ollama/ollama:latest
ports:
- "11434:11434"
environment:
- OLLAMA_HOST=0.0.0.0:11434
volumes:
- ollama_data:/root/.ollama
restart: always
open-webui:
image: ghcr.io/open-webui/open-webui:main
ports:
- "3000:8080"
environment:
- OLLAMA_API_BASE_URL=http://ollama:11434/api
volumes:
- open-webui_data:/app/backend/data
depends_on:
- ollama
restart: always
volumes:
ollama_data:
open-webui_data: