2024-10-04 14:51:45 +00:00
|
|
|
# documentation: https://docs.openwebui.com
|
|
|
|
|
# slogan: Ollama with Open Web UI integrates AI model deployment with a user-friendly interface.
|
2025-08-17 16:23:57 +00:00
|
|
|
# category: ai
|
2024-10-04 14:51:45 +00:00
|
|
|
# tags: ollama,ai,models,deployment,open-web-ui,integration
|
|
|
|
|
# logo: svgs/ollama.svg
|
|
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
ollama-api:
|
|
|
|
|
image: "ollama/ollama:latest"
|
|
|
|
|
volumes:
|
|
|
|
|
- "ollama:/root/.ollama"
|
|
|
|
|
healthcheck:
|
|
|
|
|
test: ["CMD", "ollama", "list"]
|
2024-10-07 10:12:05 +00:00
|
|
|
interval: 5s
|
|
|
|
|
timeout: 30s
|
|
|
|
|
retries: 10
|
2024-10-04 14:51:45 +00:00
|
|
|
|
|
|
|
|
open-webui:
|
|
|
|
|
image: "ghcr.io/open-webui/open-webui:main"
|
2024-10-07 10:12:05 +00:00
|
|
|
volumes:
|
|
|
|
|
- "open-webui:/app/backend/data"
|
2024-10-04 14:51:45 +00:00
|
|
|
depends_on:
|
|
|
|
|
- ollama-api
|
|
|
|
|
environment:
|
2025-08-10 08:10:22 +00:00
|
|
|
- SERVICE_URL_OLLAMA_8080
|
2024-10-07 10:12:05 +00:00
|
|
|
- OLLAMA_BASE_URL=http://ollama-api:11434
|
2024-10-04 14:51:45 +00:00
|
|
|
healthcheck:
|
|
|
|
|
test:
|
|
|
|
|
- CMD
|
|
|
|
|
- curl
|
|
|
|
|
- "-f"
|
|
|
|
|
- "http://127.0.0.1:8080"
|
2024-10-07 10:12:05 +00:00
|
|
|
interval: 5s
|
|
|
|
|
timeout: 30s
|
|
|
|
|
retries: 10
|