Skip to content

Commit 0ca9885

Browse files
committed
feat: add ollama service with open webui and logo
1 parent a1d395f commit 0ca9885

File tree

2 files changed

+61
-0
lines changed

2 files changed

+61
-0
lines changed

public/svgs/ollama.svg

Lines changed: 14 additions & 0 deletions
Loading
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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+
extra_hosts:
34+
- "host.docker.internal:host-gateway"
35+
restart: unless-stopped
36+
healthcheck:
37+
test:
38+
- CMD
39+
- curl
40+
- "-f"
41+
- "http://127.0.0.1:8080"
42+
interval: 30s
43+
timeout: 10s
44+
retries: 3
45+
46+
volumes:
47+
ollama: {}

0 commit comments

Comments
 (0)