-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
47 lines (36 loc) · 1.33 KB
/
Copy path.env.example
File metadata and controls
47 lines (36 loc) · 1.33 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
# Attach Gateway Configuration
# Copy this file to .env and fill in your values
# Auth strategy
AUTH_BACKEND=auth0 # auth0 | descope | okta | etc.
# optional: Enable Descope exchange
# ENABLE_DESCOPE_EXCHANGE=true
# Required: OIDC/JWT Authentication
OIDC_ISSUER=https://your-domain.<your-backend>.com
OIDC_AUD=<your-api-identifier>
# Descope exchange configuration
# If you want to implement an exchange between Descope and your auth provider,
# or a token exchange with different scopes and audiences, you can configure it here.
DESCOPE_BASE_URL=https://api.descope.com
DESCOPE_PROJECT_ID=<your-descope-project-id>
DESCOPE_CLIENT_ID=<your-descope-client-id>
DESCOPE_CLIENT_SECRET=<your-descope-client-secret>
# Optional: Target Engine (default: Ollama)
ENGINE_URL=http://localhost:11434
# Optional: Memory Backend (default: none)
# Options: none, weaviate, sakana
MEM_BACKEND=none
# Required if MEM_BACKEND=weaviate
WEAVIATE_URL=http://localhost:8081
# Token Quotas (Optional)
MAX_TOKENS_PER_MIN=60000
QUOTA_ENCODING=cl100k_base
# Metering Option (null, prometheus, openmeter)
USAGE_METERING=null
# Development: Auth0 credentials for dev_login script
# AUTH0_DOMAIN=your-domain.auth0.com
# AUTH0_CLIENT=your-client-id
# AUTH0_SECRET=your-client-secret # Never commit this!
# Production: Additional settings
# HOST=0.0.0.0
# PORT=8080
# LOG_LEVEL=info