Node.js/TypeScript server with MCP endpoint for AI assistant integration, Discord bot for thought capture and slash commands, PostgreSQL + pgvector for semantic search, and OpenRouter for embeddings/metadata extraction. Dockerized for deployment behind Caddy. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
16 lines
411 B
Plaintext
16 lines
411 B
Plaintext
# Database (host.docker.internal = host machine from inside Docker)
|
|
DATABASE_URL=postgresql://brain_user:password@host.docker.internal:5432/brain
|
|
|
|
# OpenRouter (AI gateway for embeddings + metadata extraction)
|
|
OPENROUTER_API_KEY=sk-or-...
|
|
|
|
# Discord bot
|
|
DISCORD_BOT_TOKEN=
|
|
DISCORD_CAPTURE_CHANNEL_ID=
|
|
|
|
# MCP endpoint authentication (generate with: openssl rand -hex 32)
|
|
MCP_ACCESS_KEY=
|
|
|
|
# Server port
|
|
PORT=3100
|