# Wayfind — Docker environment configuration # Copy to .env and fill in your values: cp .env.example .env # # Only ANTHROPIC_API_KEY and GITHUB_TOKEN are required. # Everything else is optional — add as needed. # ── Required ────────────────────────────────────────────────────────────────── # Anthropic API key (for digests and bot answers) # Get one at console.anthropic.com ANTHROPIC_API_KEY=sk-ant-your-key # GitHub token (for pulling team journals and signal data from repos) # Auto-detected from `gh auth token` during deploy init, or set manually. # Needs read access to the team-context repo. GITHUB_TOKEN= # ── Slack (for digest delivery and bot) ────────────────────────────────────── # Without these, set TEAM_CONTEXT_NO_SLACK=1 and the container runs in # scheduler/worker-only mode (no digest posting, no bot answers). # SLACK_BOT_TOKEN=xoxb-your-bot-token # SLACK_APP_TOKEN=xapp-your-app-token # SLACK_DIGEST_CHANNEL=C0123456789 # TEAM_CONTEXT_SLACK_WEBHOOK=https://hooks.slack.com/services/T.../B.../... # ── Embeddings (for semantic search — falls back to keyword search without) ── # Option A: OpenAI # OPENAI_API_KEY=sk-your-openai-key # Option B: Azure OpenAI # AZURE_OPENAI_EMBEDDING_ENDPOINT=https://your-resource.openai.azure.com/ # AZURE_OPENAI_EMBEDDING_KEY=your-key # AZURE_OPENAI_EMBEDDING_DEPLOYMENT=text-embedding-3-small # ── Team scoping ───────────────────────────────────────────────────────────── # Tenant identifier (prefixes storage paths) # TEAM_CONTEXT_TENANT_ID=my-team # Team repo allowlist — only journals from these repos appear in digests/queries. # TEAM_CONTEXT_INCLUDE_REPOS=MyOrg/*,MyOrg-Libs/* # Author slug for telemetry attribution # TEAM_CONTEXT_AUTHOR=greg # ── Signal sources ─────────────────────────────────────────────────────────── # GitHub repos to pull signals from (comma-separated, org/repo format) # TEAM_CONTEXT_GITHUB_REPOS=myorg/repo1,myorg/repo2 # Intercom API token for support signal ingestion # INTERCOM_TOKEN=your-intercom-token # TEAM_CONTEXT_INTERCOM_TAGS=bug,feature-request # Notion integration token for page/database signal ingestion # NOTION_TOKEN=ntn_your-integration-token # TEAM_CONTEXT_NOTION_DATABASES=db_id1,db_id2 # ── Schedules ──────────────────────────────────────────────────────────────── # TEAM_CONTEXT_DIGEST_SCHEDULE=0 12 * * * # TEAM_CONTEXT_SIGNAL_SCHEDULE=0 6 * * * # TEAM_CONTEXT_REINDEX_SCHEDULE=0 * * * * # ── Advanced ───────────────────────────────────────────────────────────────── # Set to 1 to run without Slack (scheduler + worker only, no bot) # TEAM_CONTEXT_NO_SLACK=1 # TEAM_CONTEXT_LLM_MODEL=claude-sonnet-4-5-20250929 # TEAM_CONTEXT_EXTRACTION_MODEL=claude-sonnet-4-5-20250929 # TEAM_CONTEXT_ENCRYPTION_KEY= # TEAM_CONTEXT_HEALTH_PORT=3141 # TEAM_CONTEXT_TELEMETRY=true # TEAM_CONTEXT_STORE_PATH=/data/content-store # TEAM_CONTEXT_SIGNALS_DIR=/data/signals # TEAM_CONTEXT_CONVERSATIONS_DIR=/data/conversations