This guide walks you through standing up a fully functional Sentinel instance on your local machine. By the end you will have the entire observability stack, the FastAPI backend, and the React dashboard running together — and you will trigger your first AI-driven incident triage with a single Docker command.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/nicolas344/Sentinel-SoftServe/llms.txt
Use this file to discover all available pages before exploring further.
Make sure you have Docker Desktop running, Node.js 20+, Python 3.9+, a Supabase project, and an OpenAI API key before you start. See the Introduction for the full prerequisites list.
Configure environment variables
Sentinel needs two Frontend — create
.env files — one for the backend and one for the frontend. Create both before starting any services.Backend — create Backend/.env:Frontend/.env.local:Apply the database schema
The Supabase schema lives in
supabase/migrations/. For a brand-new Supabase project, open the SQL Editor in the Supabase dashboard and run each migration file in order:If you are joining an existing team project that already has the baseline schema, only apply
0002_production_hardening.sql. Alternatively, use supabase db push from the Supabase CLI if your environment is configured.Start the infrastructure stack
Docker Compose starts Prometheus, Alertmanager, Loki, Promtail, Grafana, LangFuse, and ChromaDB in the background with a single command.Wait about 30 seconds for all containers to become healthy before proceeding.
Install backend dependencies
Create a Python virtual environment and install the FastAPI application’s requirements.
Seed ChromaDB with runbooks (one-time only)
Sentinel’s RAG pipeline needs runbook documents loaded into ChromaDB before the agent can retrieve relevant remediation context. Run each seed script once with your virtual environment active.Each script populates a dedicated
runbooks-{domain} collection in ChromaDB. You only need to run these once; re-running them on an existing instance will upsert without duplication.Start the backend
Launch the FastAPI application with hot-reload enabled. Keep this terminal open.The backend is ready at http://localhost:8000. Interactive Swagger docs are at http://localhost:8000/docs.
Start the frontend
In a new terminal, install Node dependencies and start the Vite dev server.The React dashboard opens at http://localhost:5173. Sign in with the Supabase email and password you configured for your project.
Simulate your first incident
With everything running, trigger a realistic container crash to watch Sentinel’s full triage pipeline in action.Once the incident appears in the dashboard you can:
Sentinel will automatically detect the crash within 20–30 seconds. It will fetch the container logs from Loki, classify the incident type with GPT-4o-mini, route to the DockerAgent for investigation, and surface a proposed corrective action in the dashboard for your approval.
- Read the agent’s full reasoning and tool call history in the Agent Reasoning panel.
- Approve the proposed action (e.g.
docker restart demo-crash) to trigger Lab 4 — Action & Verification. - Reject or Postpone if you want to handle remediation manually.
- After resolution, generate a Post-Mortem report directly from the incident detail view.
Service URLs
Once the full stack is running, all services are accessible at the following local addresses.| Service | URL | Credentials |
|---|---|---|
| Sentinel Dashboard | http://localhost:5173 | Supabase email/password |
| Backend API | http://localhost:8000 | — |
| API Docs (Swagger) | http://localhost:8000/docs | — |
| Grafana | http://localhost:3000 | admin / sentinel123 |
| Prometheus | http://localhost:9090 | — |
| Alertmanager | http://localhost:9093 | — |
| LangFuse | http://localhost:3001 | local account |
| ChromaDB | http://localhost:8001 | — |