Deterministic Insights UI - Next.js for dashboard, customers, interactions & AI insights.
125
Customer Success Insights · Next.js image for Deterministic Insights.
Web UI for secure login, business dashboard, customer and interaction management, and AI insight generation against the FastAPI backend.
Use this image for: the browser-facing Next.js app (:3000). Pair it with the backend API image and a reachable Postgres/Redis stack (or hosted API).
Backend image: https://hub.docker.com/r/prayags007/deterministic-insights-backend
Login path: /login
Build note: NEXT_PUBLIC_* values are baked in at build time. Rebuild (or use a prebuilt image aimed at your API) if the API base URL changes — docker run -e will not override them.
docker run)The API must be reachable from the browser (host network / public URL), not only via Docker DNS. Backend CORS_ORIGINS must include this UI origin.
docker pull prayags007/deterministic-insights-frontend:latest
docker run -d --name csip-frontend -p 3000:3000 \
prayags007/deterministic-insights-frontend:latest
Open: http://localhost:3000
If you need a different API URL, rebuild first:
docker build -t prayags007/deterministic-insights-frontend:latest \
--build-arg NEXT_PUBLIC_API_BASE_URL=http://localhost:8000/api/v1 \
--build-arg NEXT_PUBLIC_INSIGHT_GENERATE_TIMEOUT_MS=120000 \
.
Runtime for this image is mostly fixed after build. Set these when building:
| Variable | Required | Notes |
|---|---|---|
NEXT_PUBLIC_API_BASE_URL | Yes | Must include /api/v1 (local or Railway) |
NEXT_PUBLIC_INSIGHT_GENERATE_TIMEOUT_MS | No | Default 120000 — insight generate timeout |
Never put JWT secrets, database passwords, or API keys in frontend env — only public API config.
Local API:
NEXT_PUBLIC_API_BASE_URL=http://localhost:8000/api/v1
NEXT_PUBLIC_INSIGHT_GENERATE_TIMEOUT_MS=120000
Production API:
NEXT_PUBLIC_API_BASE_URL=https://deterministicinsightsbackend-production.up.railway.app/api/v1
NEXT_PUBLIC_INSIGHT_GENERATE_TIMEOUT_MS=120000
Prefer Docker Compose for a full local stack (Postgres + Redis + backend + this image). Env templates live in the GitHub repo (.env.local.example).
Demo app logins (seeded by the backend): see the GitHub README.
Setup, architecture diagrams, feature map, and troubleshooting:
https://github.com/Prayag-Sheth/deterministic_insights_frontend/blob/main/README.md
Companion API (GitHub): https://github.com/Prayag-Sheth/deterministic_insights_backend
Backend image: https://hub.docker.com/r/prayags007/deterministic-insights-backend
Live app: https://deterministic-insights-frontend.vercel.app/
API Swagger: https://deterministicinsightsbackend-production.up.railway.app/api/v1/docs
Content type
Image
Digest
sha256:f7398a52e…
Size
63.8 MB
Last updated
2 months ago
docker pull prayags007/deterministic-insights-frontend