Update ollama.yaml
This commit is contained in:
+6
-1
@@ -1,4 +1,3 @@
|
||||
|
||||
services:
|
||||
ollama:
|
||||
image: ollama/ollama:rocm
|
||||
@@ -36,6 +35,8 @@ services:
|
||||
#Overrides the User-Agent header that the web loader (SafeWebBaseLoader) sends on outbound fetches for web search and the fetch_url tool.
|
||||
#The default Python library UA is aggressively blocked by Cloudflare, Wikipedia, and similar bot-detection layers, which manifests as empty results or 403s when scraping or searching the public web.
|
||||
- USER_AGENT=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
|
||||
- WEBUI_SECRET_KEY=${WEBUI_SECRET_KEY}
|
||||
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
|
||||
networks:
|
||||
- ollama-net
|
||||
- proxy-net
|
||||
@@ -91,6 +92,8 @@ services:
|
||||
ports:
|
||||
- 3112:8000
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- OPEN_TERMINAL_API_KEY: ${OPEN_TERMINAL_API_KEY}
|
||||
labels:
|
||||
- rackpeek.name=open-terminal
|
||||
- rackpeek.tags=ai
|
||||
@@ -103,6 +106,8 @@ services:
|
||||
# restart: unless-stopped
|
||||
# ports:
|
||||
# - "4001:4000"
|
||||
# environment:
|
||||
# LITELLM_MASTER_KEY=${LITELLM_MASTER_KEY}
|
||||
# networks:
|
||||
# - ollama-net
|
||||
# - proxy-net
|
||||
|
||||
Reference in New Issue
Block a user