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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user