Commit Graph

13 Commits

Author SHA1 Message Date
poprhythm 2ab1cccdc8 Switch openclaw default model to qwen2.5:7b (supports tools) 2026-02-20 22:11:54 +00:00
poprhythm 0b38b19d20 Fix openclaw model contextWindow to 32768 (minimum is 16000) 2026-02-20 22:08:29 +00:00
poprhythm 18b202909c Rebuild openclaw from npm instead of premade image, configure Ollama
- Add Dockerfile using node:22-bookworm-slim + npm install -g openclaw@latest
- Update docker-compose.yml: use local build, add OLLAMA_API_KEY=ollama-local,
  remove legacy OPENCLAW_AGENT_PROVIDER/MODEL/OLLAMA_BASE_URL env vars
- Add setup.sh to create openclaw.json with explicit Ollama provider config

Key fixes vs previous attempt:
- Config file is openclaw.json (not config.json or auth-profiles.json)
- models.providers.ollama needs baseUrl with /v1 suffix + explicit model list
- OLLAMA_API_KEY env var is required to opt in to Ollama support
- reasoning:false on models prevents 400 errors from Ollama
2026-02-20 22:03:43 +00:00
poprhythm 2544694586 Move hardcoded secrets to .env files for dns-updateip, docker-registry, openclaw
- dns-updateip: APIKEY now uses ${APIKEY} substitution
- docker-registry: SECRET_KEY_BASE now uses ${SECRET_KEY_BASE} substitution
- openclaw: OPENCLAW_GATEWAY_TOKEN now uses ${OPENCLAW_GATEWAY_TOKEN} substitution
- Add .env.example templates for backrest, dns-updateip, docker-registry, openclaw
2026-02-18 19:02:01 +00:00
poprhythm f0902944e0 Document OpenClaw troubleshooting attempts
Add comprehensive troubleshooting documentation for OpenClaw auth issues:
- All configuration attempts with Ollama and Anthropic
- Error messages and findings
- Links to relevant GitHub issues and documentation
- Recommendations for future attempts

Issue: Gateway mode fails with 'No API key found' despite correct auth-profiles.json configuration with both Ollama and real Anthropic API key.
2026-02-09 03:03:56 +00:00
poprhythm c7733147b3 Hardcode OpenClaw gateway token in docker-compose
Token is safe to commit as this is a private repo
2026-02-09 02:33:22 +00:00
poprhythm 716718504d 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
2026-02-09 02:32:23 +00:00
poprhythm 8209caecff Fix OpenClaw architecture mismatch - specify linux/amd64 platform
Adds explicit platform: linux/amd64 to prevent pulling ARM64 image on x86_64 systems, which causes "Exec format error"
2026-02-09 02:04:57 +00:00
poprhythm 68e3f673e8 Add OpenClaw setup documentation and utilities
- SETUP.md: Complete deployment guide with WebSocket configuration
- portainer-setup.sh: Automated Portainer stack creation script
- fix-permissions.sh: Storage directory permission fixer
- .gitignore: Ensure .credentials file is not committed

Note: WebSocket support must be enabled in nginx-proxy-manager for OpenClaw to work.
2026-02-08 21:45:31 +00:00
poprhythm d66fc86287 Add explicit --bind lan flag to OpenClaw gateway command
CLI flag takes precedence over env vars and config, ensuring
the gateway binds to LAN interface for nginx reverse proxy access.
2026-02-08 21:42:57 +00:00
poprhythm c2a25c2185 Add OPENCLAW_GATEWAY_BIND=lan environment variable
Fix 502 error by configuring OpenClaw gateway to bind on LAN interface
instead of localhost only, allowing nginx reverse proxy to connect.
2026-02-08 21:29:57 +00:00
poprhythm 7c4393828d Update OpenClaw for git-linked deployment with Ollama
- Switch to official ghcr.io/openclaw/openclaw:main image
- Remove port mappings in favor of nginx reverse proxy
- Add reverse proxy environment variables (VIRTUAL_HOST, etc.)
- Configure for Ollama integration instead of Anthropic API
- Add PUID/PGID for proper file permissions
2026-02-08 21:08:23 +00:00
poprhythm 8bab95d2ef add openclaw 2026-02-03 02:42:59 +00:00