-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
56 lines (42 loc) · 1.8 KB
/
.env.example
File metadata and controls
56 lines (42 loc) · 1.8 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
# ToolHive Cloud UI - Environment Variables
# Copy this file to .env.local and fill in the values
# =============================================================================
# REQUIRED FOR PRODUCTION
# =============================================================================
# OIDC Provider Configuration
# Your OIDC provider's issuer URL (e.g., https://your-oidc-provider.com)
OIDC_ISSUER_URL=
# OAuth2 Client ID from your OIDC provider
OIDC_CLIENT_ID=
# OAuth2 Client Secret from your OIDC provider
OIDC_CLIENT_SECRET=
# OIDC Provider identifier (e.g., "okta", "auth0", "oidc")
OIDC_PROVIDER_ID=
# Better Auth Configuration
# Secret key for token encryption (generate with: openssl rand -base64 32)
BETTER_AUTH_SECRET=
# Your application's base URL (e.g., https://your-app.example.com)
BETTER_AUTH_URL=
# Backend API Configuration
# ToolHive Registry Server API URL
API_BASE_URL=
# =============================================================================
# OPTIONAL
# =============================================================================
# Trusted Origins (comma-separated list)
# Additional origins allowed for CORS and auth callbacks
# TRUSTED_ORIGINS=http://localhost:3002,http://localhost:3003
# =============================================================================
# DEVELOPMENT ONLY (automatically set by dev server)
# =============================================================================
# These are set automatically when running 'pnpm dev'
# No need to set them manually for local development
# NODE_ENV=development
# OIDC_ISSUER_URL=http://localhost:3001
# OIDC_CLIENT_ID=web-client
# OIDC_CLIENT_SECRET=web-secret
# OIDC_PROVIDER_ID=oidc
# BETTER_AUTH_URL=http://localhost:3000
# API_BASE_URL=http://localhost:9090
# AI-assistant related tokens
OPENROUTER_API_KEY=my-example-key