Skip to content

Commit 3b3362d

Browse files
authored
Merge pull request coollabsio#3722 from danielalves96/add_ollama_with_web_ui
feat: add ollama service with open-webui and logo
2 parents cd199ed + c8aa093 commit 3b3362d

File tree

2 files changed

+59
-0
lines changed

2 files changed

+59
-0
lines changed

public/svgs/ollama.svg

Lines changed: 14 additions & 0 deletions
Loading
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# documentation: https://docs.openwebui.com
2+
# slogan: Ollama with Open Web UI integrates AI model deployment with a user-friendly interface.
3+
# tags: ollama,ai,models,deployment,open-web-ui,integration
4+
# logo: svgs/ollama.svg
5+
6+
version: "3.9"
7+
8+
services:
9+
ollama-api:
10+
container_name: ollama
11+
image: "ollama/ollama:latest"
12+
volumes:
13+
- "ollama:/root/.ollama"
14+
ports:
15+
- 11434:11434
16+
tty: true
17+
restart: unless-stopped
18+
pull_policy: always
19+
healthcheck:
20+
test: ["CMD", "ollama", "list"]
21+
interval: 30s
22+
timeout: 10s
23+
retries: 3
24+
25+
open-webui:
26+
container_name: open-webui
27+
image: "ghcr.io/open-webui/open-webui:main"
28+
depends_on:
29+
- ollama-api
30+
environment:
31+
- "OLLAMA_API_BASE_URL=http://127.0.0.1:11434"
32+
- SERVICE_FQDN_OLLAMA_8080
33+
restart: unless-stopped
34+
healthcheck:
35+
test:
36+
- CMD
37+
- curl
38+
- "-f"
39+
- "http://127.0.0.1:8080"
40+
interval: 30s
41+
timeout: 10s
42+
retries: 3
43+
44+
volumes:
45+
ollama: {}

0 commit comments

Comments
 (0)