opencode-config/.env.example
Sergey 2b9ee23b49
feat(memory): add memory-setup tool with deterministic init (#36)
* feat(memory): add memory-setup tool and rewrite script

* fix(memory): correct OPENCODE_MEMORY_DIR in docker-compose

* test(memory): add setup-memory tests with mock remote

* docs(memory): add ADR and handoff

* docs(handoff): set PR number

* fix(docs): correct handoff and ADR filenames to PR number

* docs: update project map + handoff + ADR

* fix(memory): address code review comments

---------

Co-authored-by: opencode-agent <agent@slaid098.dev>
2026-07-24 03:26:16 +03:00

34 lines
No EOL
1.1 KiB
Text

# AI Provider
AI_PROVIDER_BASE_URL=https://your-ai-provider.example.com/v1/
AI_PROVIDER_API_KEY=your-api-key-here
# OpenCode Server
OPENCODE_SERVER_PASSWORD=your-opencode-server-password
# GitHub
GITHUB_TOKEN=your-github-token-here
# Context7 MCP
CONTEX7_API_KEY=your-context7-api-key-here
# Telegram (optional)
TELEGRAM_API_ID=your-telegram-api-id
TELEGRAM_API_HASH=your-telegram-api-hash
TELEGRAM_BOT_TOKEN=your-telegram-bot-token
# Redis (optional)
REDIS_PASSWORD=your-redis-password
# Cloudflare Tunnel (optional — see separate tunnel repo)
CLOUDFLARE_TUNNEL_TOKEN=
TUNNEL_DOMAIN=
# Antidetect Browser MCP
# Local: http://localhost:8765/mcp
# Remote: http://<your-server-ip>:8765/mcp
ANTIDETECT_BROWSER_MCP_URL=http://localhost:8765/mcp
# OpenCode Memory (required — memory-setup tool exits 1 if OPENCODE_MEMORY_REMOTE unset)
# Point at your fork of opencode-memory (see README "Memory setup" for the upstream repo)
OPENCODE_MEMORY_REMOTE=https://github.com/your-username/your-opencode-memory.git
OPENCODE_MEMORY_DIR=/root/.local/share/opencode/opencode-memory