Local Docker
Junando includes a Docker Compose stack for local development and testing.
Start the Stack
Section titled “Start the Stack”From the repository root:
cp .env.example .env.localpnpm run setup:localThis starts Redis, Loki, Prometheus, Alertmanager, Grafana, and OpenSearch.
Run the Webhook
Section titled “Run the Webhook”In another terminal:
pnpm run dev:webhookSend a Test Alert
Section titled “Send a Test Alert”pnpm run generate:alertThis fires a test alert through the full pipeline: webhook → queue → worker → notification.
Verify
Section titled “Verify”- Webhook health:
http://localhost:4000/health - Grafana:
http://localhost:3000 - Alertmanager:
http://localhost:9093
Configuration
Section titled “Configuration”Create a .env.local file from .env.example with your credentials:
LLM_PROVIDER=openrouterLLM_API_KEY=<YOUR_TOKEN>SLACK_BOT_TOKEN=<YOUR_TOKEN>SLACK_CHANNEL=#incidentsTroubleshooting
Section titled “Troubleshooting”| Issue | Fix |
|---|---|
| Port 4000 in use | Stop other services or change the port |
| Redis connection error | Ensure Docker is running and Redis is up |
Missing .env file |
Run cp .env.example .env.local |
See Troubleshooting for more common issues.
Full Docker Deployment
Section titled “Full Docker Deployment”For a production-like local setup with Lambda emulation, see: https://github.com/GerMoren/junando/blob/main/docker/docker-compose.prod.local.yml