This document describes how to host CDA-AgentX on AWS EC2 using the repo Dockerfile, docker-compose.yml, and scripts/web-slack-entry.sh. It assumes ByteRover context lives under /app/.brv inside the container and Slack uses Socket Mode (no public Slack webhook URL).
| Component | Role |
|---|---|
Next.js (App Router, server.js) |
Web UI + API routes on port 3000 (PORT / HOSTNAME=0.0.0.0) |
Slack Bolt (lib/slack/bot.ts) |
Socket Mode bot β no inbound HTTP from Slack; needs outbound HTTPS |