graph LR
subgraph Devcontainer
App[Next.js :3000]
DB[(Postgres :5432)]
Redis[(Redis :6379)]
end
App --> DB
App --> Redis
subgraph External APIs
Google[Google OAuth]
LLM[LLM Provider]
end
App -.-> Google
App -.-> LLM
Cmd+Shift+P → Dev Containers: Reopen in Container
Setup runs automatically (installs deps, generates secrets, runs migrations).
| Variable | Source |
|---|---|
GOOGLE_CLIENT_ID |
Google Cloud Console |
GOOGLE_CLIENT_SECRET |
Same |
DEFAULT_LLMS |
provider:model for your preferred LLM provider |
LLM_API_KEY |
API key for the configured LLM provider, if required |
Google OAuth setup:
- Create OAuth 2.0 Client ID (Web application)
- Authorized origin:
http://localhost:3000 - Redirect URI:
http://localhost:3000/api/auth/callback/google
pnpm dev- PostgreSQL + Redis (local containers)
- Auth secrets (auto-generated)
- LLM config placeholders (
DEFAULT_LLMS,ECONOMY_LLMS,CHAT_LLMS,NANO_LLMS,DRAFT_LLMS)