Skip to content

Commit

Permalink
fixed ollama env var
Browse files Browse the repository at this point in the history
  • Loading branch information
rashadphz committed Jun 23, 2024
1 parent 4f8b7c2 commit 4389368
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker-compose-no-searxng.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
ports:
- "8000:8000"
environment:
- OLLAMA_HOST=${OLLAMA_HOST:-http://host.docker.internal:11434}
- OLLAMA_API_BASE=${OLLAMA_API_BASE:-http://host.docker.internal:11434}
- TAVILY_API_KEY=${TAVILY_API_KEY}
- BING_API_KEY=${BING_API_KEY}
- SERPER_API_KEY=${SERPER_API_KEY}
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
ports:
- "8000:8000"
environment:
- OLLAMA_HOST=${OLLAMA_HOST:-http://host.docker.internal:11434}
- OLLAMA_API_BASE=${OLLAMA_API_BASE:-http://host.docker.internal:11434}
- TAVILY_API_KEY=${TAVILY_API_KEY}
- BING_API_KEY=${BING_API_KEY}
- SERPER_API_KEY=${SERPER_API_KEY}
Expand Down
2 changes: 1 addition & 1 deletion docker-scripts/env-defaults
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ollama
export OLLAMA_HOST=${OLLAMA_HOST:-http://host.docker.internal:11434}
export OLLAMA_API_BASE=${OLLAMA_API_BASE:-http://host.docker.internal:11434}

# Search
export TAVILY_API_KEY=${TAVILY_API_KEY}
Expand Down

0 comments on commit 4389368

Please sign in to comment.