mirror of
https://github.com/0xMassi/webclaw.git
synced 2026-06-21 02:28:27 +02:00
setup.sh and deploy/hetzner.sh emitted WEBCLAW_AUTH_KEY into the server's .env, but webclaw-server reads WEBCLAW_API_KEY (env = "WEBCLAW_API_KEY"). The generated key was silently ignored — and since hetzner.sh binds 0.0.0.0, the server refused to start at all (it rejects a public bind without WEBCLAW_API_KEY). Fix both .env writers, plus the hetzner help line that told users to grep the wrong name and the env.example sample. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
43 lines
1.1 KiB
Text
43 lines
1.1 KiB
Text
# ============================================
|
|
# Webclaw Configuration
|
|
# Copy to .env and fill in your values
|
|
# ============================================
|
|
|
|
# --- LLM Providers ---
|
|
|
|
# Ollama (local, default provider)
|
|
OLLAMA_HOST=http://localhost:11434
|
|
OLLAMA_MODEL=qwen3:8b
|
|
|
|
# OpenAI (optional cloud fallback)
|
|
# OPENAI_API_KEY — set your OpenAI key
|
|
# OPENAI_BASE_URL — defaults to https://api.openai.com/v1
|
|
# OPENAI_MODEL — defaults to gpt-4o-mini
|
|
|
|
# Anthropic (optional cloud fallback)
|
|
# ANTHROPIC_API_KEY — set your Anthropic key
|
|
# ANTHROPIC_MODEL — defaults to claude-sonnet-4-20250514
|
|
|
|
# --- Proxy ---
|
|
|
|
# Single proxy
|
|
# WEBCLAW_PROXY=http://user:pass@host:port
|
|
|
|
# Proxy file (one per line: host:port:user:pass)
|
|
# WEBCLAW_PROXY_FILE=/path/to/proxies.txt
|
|
|
|
# --- Server (webclaw-server only) ---
|
|
# WEBCLAW_PORT=3000
|
|
# WEBCLAW_HOST=0.0.0.0
|
|
# WEBCLAW_API_KEY=your-auth-key
|
|
# WEBCLAW_MAX_CONCURRENCY=50
|
|
# WEBCLAW_JOB_TTL_SECS=3600
|
|
# WEBCLAW_MAX_JOBS=100
|
|
|
|
# --- CLI LLM overrides ---
|
|
# WEBCLAW_LLM_PROVIDER=ollama
|
|
# WEBCLAW_LLM_MODEL=qwen3:8b
|
|
# WEBCLAW_LLM_BASE_URL=http://localhost:11434
|
|
|
|
# --- Logging ---
|
|
# WEBCLAW_LOG=info
|