dograh/ui
stefandsl 592e6f7970 chore(dev): add docker-compose.dev.yaml and default to same-origin UI
Adds an opt-in compose override that bind-mounts the three_cx provider
files (and the alembic versions dir, so newer local migrations resolve)
into the prebuilt API image — useful when iterating on a provider
without rebuilding. Loaded explicitly via
`docker compose -f docker-compose.yaml -f docker-compose.dev.yaml up`.

Also blanks the default `NEXT_PUBLIC_BACKEND_URL` in `ui/.env.example`
so the browser uses `window.location.origin` and the Next.js rewrite in
`next.config.ts` proxies `/api/v1/*` to the backend. This works for both
single-host dev and remote dev (where `localhost:8000` from the browser
points at the wrong machine).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-26 15:05:13 +02:00
..
public feat: add headless mode, redesign floating widget, refactor lifecycle callbacks (#268) 2026-05-07 12:23:41 +05:30
scripts feat: refactor node spec and add mcp tools (#244) 2026-04-21 07:56:16 +05:30
src feat: add transcript and recording public URLs in API 2026-05-26 15:11:56 +05:30
.dockerignore Initial Commit 🚀 🚀 2025-09-09 14:37:32 +05:30
.env.example chore(dev): add docker-compose.dev.yaml and default to same-origin UI 2026-05-26 15:05:13 +02:00
.gitignore Initial Commit 🚀 🚀 2025-09-09 14:37:32 +05:30
.pre-commit-config.yaml Initial Commit 🚀 🚀 2025-09-09 14:37:32 +05:30
AGENTS.md chore(ui): align dev server port with production (3010) 2026-05-26 13:29:51 +02:00
CLAUDE.md Chore/add setup and contributing docs (#90) 2025-12-27 09:25:20 +05:30
components.json Initial Commit 🚀 🚀 2025-09-09 14:37:32 +05:30
Dockerfile feat: add authentication for OSS (#167) 2026-02-20 18:21:24 +05:30
eslint.config.mjs feat: agent versioning and model configurations override (#227) 2026-04-08 19:20:31 +05:30
next.config.ts Feat: Enable Poshog and Sentry for OSS (#23) 2025-10-04 12:23:20 +05:30
openapi-ts.config.ts feat: agent versioning and model configurations override (#227) 2026-04-08 19:20:31 +05:30
package-lock.json chore(dev): add docker-compose.dev.yaml and default to same-origin UI 2026-05-26 15:05:13 +02:00
package.json chore(ui): align dev server port with production (3010) 2026-05-26 13:29:51 +02:00
postcss.config.mjs Initial Commit 🚀 🚀 2025-09-09 14:37:32 +05:30
README.md Initial Commit 🚀 🚀 2025-09-09 14:37:32 +05:30
sentry.edge.config.ts chore: fix ui and add "Get Help" button (#27) 2025-10-07 17:40:01 +05:30
sentry.server.config.ts chore: fix ui and add "Get Help" button (#27) 2025-10-07 17:40:01 +05:30
tsconfig.json Initial Commit 🚀 🚀 2025-09-09 14:37:32 +05:30

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Login Flow

  1. The redirection happens server side using ui/src/stack.tsx after the user has logged in.

Sentry and PostHog

  1. Initialized in ui/src/instrumentation-client.ts