-
-
Notifications
You must be signed in to change notification settings - Fork 272
Expand file tree
/
Copy path.env.example
More file actions
44 lines (41 loc) · 1.61 KB
/
Copy path.env.example
File metadata and controls
44 lines (41 loc) · 1.61 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
PORT=3000
NODE_ENV=development
# DEFAULT_REQUEST_TIMEOUT=60000
# INIT_TIMEOUT=300000
# Database Configuration (Optional - for database-backed configuration)
# Simply set DB_URL to enable database mode (auto-detected)
# DB_URL=postgresql://mcphub:password@localhost:5432/mcphub
# Or explicitly control with USE_DB (overrides auto-detection)
# USE_DB=true
# Better Auth (optional social login: GitHub / Google / local OIDC)
# Better Auth bootstrap config is read only at startup.
# BETTER_AUTH_URL=http://localhost:3000
# BETTER_AUTH_ENABLED=true
# BETTER_AUTH_BASE_PATH=/api/auth/better
# BETTER_AUTH_TRUSTED_ORIGINS=https://dashboard.example.com,https://admin.example.com
# BETTER_AUTH_GOOGLE_ENABLED=true
# GOOGLE_CLIENT_ID=
# GOOGLE_CLIENT_SECRET=
# BETTER_AUTH_GITHUB_ENABLED=true
# GITHUB_CLIENT_ID=
# GITHUB_CLIENT_SECRET=
# BETTER_AUTH_OIDC_ENABLED=true
# BETTER_AUTH_OIDC_PROVIDER_ID=local-oidc
# BETTER_AUTH_OIDC_DISCOVERY_URL=https://auth.example.com/.well-known/openid-configuration
# BETTER_AUTH_OIDC_SCOPES=openid,profile,email
# BETTER_AUTH_OIDC_PKCE=true
# BETTER_AUTH_OIDC_PROMPT=login
# OIDC_DISCOVERY_URL=https://auth.example.com/.well-known/openid-configuration
# OIDC_CLIENT_ID=
# OIDC_CLIENT_SECRET=
# Hosted data-plane mode for hub.mcphub.app
# HUB_MODE=hosted
# HOSTED_CONTROL_PLANE_URL=https://mcphub.app
# Shared HMAC secret with mcphub.app /api/internal/v1/*
# INTERNAL_API_SECRET=replace-with-32-plus-random-bytes
# HOSTED_CONTROL_PLANE_TIMEOUT_MS=5000
# Multi-node hosted data plane
# HUB_CLUSTER_ID=prod-us-east-1
# HUB_NODE_ID=hub-1
# HUB_EVENT_REDIS_URL=redis://localhost:6379
# HUB_EVENT_CHANNEL=mcphub:hosted-events