Skip to content

Commit b7e842f

Browse files
author
Iyappan Subramanian
committed
Added Ollama model pull
- Added ollama model pull on entrypoint - Fixed the port number
1 parent 841483a commit b7e842f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

compose.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ services:
6666
- "OLLAMA_HOST=http://ollama_demo_service:11434"
6767
tty: true
6868
restart: unless-stopped
69+
entrypoint: "bash -c \"ollama serve & sleep 5 && ollama pull llama3.2:1b && wait\""
6970

7071
llmchat_demo_service:
7172
image: ghcr.io/open-webui/open-webui:v0.5.20
@@ -74,10 +75,10 @@ services:
7475
- open-webui:/app/backend/data
7576
depends_on:
7677
- ollama_demo_service
77-
networks:
78-
- public
7978
ports:
8079
- "7861:7861"
80+
networks:
81+
- public
8182
environment:
8283
- 'PORT=7861'
8384
- 'ENV=dev'

0 commit comments

Comments
 (0)