docs: add .env.example for local secret handling

Provide a template with all recognized environment variables so
developers can set up their local .env without guessing.
The actual .env is already in .gitignore.

Closes #364

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
fettpl 2026-02-16 17:54:06 +01:00
parent de3ec87d16
commit 3cdc6b6ebd

26
.env.example Normal file
View file

@ -0,0 +1,26 @@
# ZeroClaw Environment Variables
# Copy this file to .env and fill in your values.
# NEVER commit .env — it is listed in .gitignore.
# ── Required ──────────────────────────────────────────────────
# Your LLM provider API key
# ZEROCLAW_API_KEY=sk-your-key-here
API_KEY=your-api-key-here
# ── Provider & Model ─────────────────────────────────────────
# LLM provider: openrouter, openai, anthropic, ollama, glm
PROVIDER=openrouter
# ZEROCLAW_MODEL=anthropic/claude-sonnet-4-20250514
# ZEROCLAW_TEMPERATURE=0.7
# ── Gateway ──────────────────────────────────────────────────
# ZEROCLAW_GATEWAY_PORT=3000
# ZEROCLAW_GATEWAY_HOST=127.0.0.1
# ZEROCLAW_ALLOW_PUBLIC_BIND=false
# ── Workspace ────────────────────────────────────────────────
# ZEROCLAW_WORKSPACE=/path/to/workspace
# ── Docker Compose ───────────────────────────────────────────
# Host port mapping (used by docker-compose.yml)
# HOST_PORT=3000