-
Notifications
You must be signed in to change notification settings - Fork 116
Expand file tree
/
Copy path.env.example
More file actions
62 lines (52 loc) · 2.73 KB
/
Copy path.env.example
File metadata and controls
62 lines (52 loc) · 2.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#############################################
# vTeam Frontend .env.example (Next.js)
# Copy to .env.local and adjust values as needed
# Variables prefixed with NEXT_PUBLIC_ are exposed to the browser.
#############################################
# GitHub App identifier used to initiate installation
# This may be your GitHub App slug or Client ID, depending on your setup
GITHUB_APP_SLUG=ambient-code-vteam
# Direct backend base URL (used by server-side code where applicable)
# Default local backend URL
BACKEND_URL=http://localhost:8080/api
# Ambient API Server URL (ambient-api-server microservice)
# Proxied via /api/ambient/v1/... catch-all route
API_SERVER_URL=http://localhost:8000
# SSO/OIDC authentication (set automatically in Kind via sso-credentials secret)
# SSO_ENABLED=true
# SSO_ISSUER_URL=http://keycloak-service:8080/realms/ambient-code
# SSO_CLIENT_ID=ambient-frontend
# SSO_CLIENT_SECRET=dev-secret-do-not-use-in-prod
# SSO_REDIRECT_URI=http://localhost:11646/api/auth/sso/callback
# SESSION_SECRET=dev-session-secret-must-be-at-least-32-chars-long
# Legacy: OpenShift identity for local development (when SSO is off)
# OC_TOKEN=
# OC_USER=
# OC_EMAIL=
# ENABLE_OC_WHOAMI=1
# File upload size limits (in bytes)
# These control the maximum file sizes allowed for different file types
# MAX_UPLOAD_SIZE_DOCUMENTS: Maximum size for document files (default: 10485760 = 10MB)
# MAX_UPLOAD_SIZE_IMAGES: Maximum size for image uploads before compression (default: 10485760 = 10MB)
# IMAGE_COMPRESSION_TARGET: Target size for compressed images (default: 358400 = 350KB)
MAX_UPLOAD_SIZE_DOCUMENTS=10485760
MAX_UPLOAD_SIZE_IMAGES=10485760
IMAGE_COMPRESSION_TARGET=358400
# Unleash feature flags (optional)
# When set, the frontend proxy /api/feature-flags will forward to Unleash.
# UNLEASH_URL=https://unleash.example.com
# UNLEASH_CLIENT_KEY=your-frontend-api-token
# UNLEASH_APP_NAME=ambient-code-platform
# NEXT_PUBLIC_UNLEASH_ENV_CONTEXT_FIELD: Environment value sent in SDK context (default: development)
# Note: This does NOT select the Unleash environment - that's determined by the token scope.
# This is only used for strategy constraints that check context.environment.
# NEXT_PUBLIC_UNLEASH_ENV_CONTEXT_FIELD=development
# Loading tips shown during AI response generation (optional)
# JSON array of strings. If not set, defaults to built-in tips.
# Example: LOADING_TIPS='["Tip: First tip here", "Tip: Second tip here"]'
# LOADING_TIPS=
# Langfuse Configuration for User Feedback
# These are used by the /api/feedback route to submit user feedback scores
# Get your keys from your Langfuse instance: Settings > API Keys
# LANGFUSE_HOST=https://langfuse-langfuse.apps.rosa.vteam-uat.0ksl.p3.openshiftapps.com
# LANGFUSE_PUBLIC_KEY=pk-lf-YOUR-PUBLIC-KEY-HERE