Files
growqr-backend/.env.example
NinjasPyajamas 2d471c61b4 feat: introduce workflow job management and agent orchestration
- Added workflow job actor to manage job application workflows.
- Implemented agent catalog for various workflow agents.
- Created service agents for interview, roleplay, and Q-Score functionalities.
- Enhanced user authentication to automatically create users if they do not exist.
- Updated configuration to support new LLM provider and API keys.
- Introduced new routes for agent and workflow management.
- Refactored Docker management to improve Gitea admin user creation and token generation.
- Removed deprecated Anthropics SDK integration.
2026-05-21 23:17:26 +05:30

55 lines
1.6 KiB
Plaintext

PORT=4000
LOG_LEVEL=info
NODE_ENV=development
# Postgres (started by docker-compose; defaults match the compose service)
DATABASE_URL=postgres://growqr:growqr@localhost:5432/growqr
POSTGRES_USER=growqr
POSTGRES_PASSWORD=growqr
POSTGRES_DB=growqr
# Clerk auth — get from dashboard.clerk.com → API Keys
CLERK_SECRET_KEY=clerk_key
CLERK_PUBLISHABLE_KEY=clerk_publishable_key
# OpenCode Zen LLM gateway — get from opencode.ai/auth
OPENCODE_API_KEY=sk-REPLACE_ME
LLM_PROVIDER=opencode
LLM_BASE_URL=https://opencode.ai/zen/v1
LLM_MODEL=kimi-k2.6
GROW_AGENT_MODEL=kimi-k2.6
SUB_AGENT_MODEL=kimi-k2.6
MAX_AGENT_TOKENS=4096
# Shared secret for actor → backend service calls (rotate in prod)
SERVICE_TOKEN=dev-service-token-REPLACE_ME
A2A_ALLOWED_KEY=dev-a2a-key
# Rivet Kit engine (self-hosted in docker-compose)
RIVET_ENDPOINT=http://localhost:6420
RIVET_CLIENT_ENDPOINT=http://127.0.0.1:4000/api/rivet
# Product microservice sub-agent URLs
INTERVIEW_SERVICE_URL=http://localhost:8007
ROLEPLAY_SERVICE_URL=http://localhost:8008
QSCORE_SERVICE_URL=http://localhost:8000
# Per-user container images
GITEA_IMAGE=gitea/gitea:1.22
OPENCODE_IMAGE=ghcr.io/sst/opencode:latest
# Host where spawned containers expose their ports.
# - localhost in dev
# - host.docker.internal when the backend runs inside docker-compose
USER_CONTAINER_HOST=127.0.0.1
# Workspace root on the host. Each user gets a subdir.
USER_DATA_ROOT=./.data/users
# Port range allocated to spawned per-user containers
USER_PORT_RANGE_START=20000
USER_PORT_RANGE_END=29999
# CORS origin(s) for the Next.js frontend (comma-separated for multiple)
FRONTEND_ORIGIN=http://localhost:3000