Skip to content

Commit 4ac9c1c

Browse files
committed
Add OLLAMA_HOST for embedding
1 parent ac1907b commit 4ac9c1c

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

compose.ollama.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ services:
22
api:
33
environment:
44
- API_BASE=http://ollama:11434
5+
- OLLAMA_HOST=http://ollama:11434
56

67
ollama:
78
build:

server/.env.example

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
MODEL=ollama/gemma3n
2-
API_BASE=http://localhost:11434
2+
API_BASE=http://localhost:11434
3+
OLLAMA_HOST=http://localhost:11434

0 commit comments

Comments
 (0)