Configure OpenClaw to use Ollama with llama3

Add environment variables to specify Ollama as the agent provider:
- OPENCLAW_AGENT_PROVIDER=ollama
- OPENCLAW_AGENT_MODEL=llama3
- OPENCLAW_OLLAMA_BASE_URL=http://ollama:11434
This commit is contained in:
2026-02-09 02:32:23 +00:00
parent 8209caecff
commit 716718504d
+3
View File
@@ -13,6 +13,9 @@ services:
- PGID=1000
- OPENCLAW_GATEWAY_TOKEN=${OPENCLAW_GATEWAY_TOKEN}
- OPENCLAW_GATEWAY_BIND=lan
- OPENCLAW_AGENT_PROVIDER=ollama
- OPENCLAW_AGENT_MODEL=llama3
- OPENCLAW_OLLAMA_BASE_URL=http://ollama:11434
# Reverse proxy configuration
- VIRTUAL_HOST=openclaw.kolpacksoftware.com
- VIRTUAL_PORT=18789