From 086a143c2cad0112846b70bc1915319345ad5692 Mon Sep 17 00:00:00 2001 From: Ho1yShif Date: Tue, 7 Jul 2026 15:15:32 -0700 Subject: [PATCH] docs(render): add .env.example for local runs List the three env vars the template reads (ANTHROPIC_API_KEY, NANOBOT_WEB_TOKEN, PORT) with placeholder-only values, consistent with render.yaml and the README. .env stays gitignored; this example does not. Co-Authored-By: Claude Opus 4.8 (1M context) --- .env.example | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 00000000..68fc233a --- /dev/null +++ b/.env.example @@ -0,0 +1,18 @@ +# nanobot on Render — environment variables. +# +# For a local run, copy this file to `.env` and fill in real values. On Render +# these are set in the dashboard; both secrets are `sync: false` in render.yaml, +# so nothing secret is ever committed. `.env` is gitignored — this example is not. +# See README.md → "Environment variables" for details. + +# Anthropic API key — powers the agent's LLM calls (default model +# anthropic/claude-opus-4-8). Get one at https://console.anthropic.com/settings/keys +ANTHROPIC_API_KEY=sk-ant-your-key-here + +# WebUI access secret — the only gate on your public agent. Generate a strong +# random value: `openssl rand -hex 32` +NANOBOT_WEB_TOKEN=replace-with-a-long-random-string + +# Port the gateway's WebSocket/WebUI channel binds; Render routes public traffic +# here. Matches channels.websocket.port in render-config.json. +PORT=8765