forked from arabold/docs-mcp-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.production.example
More file actions
42 lines (38 loc) · 1.79 KB
/
.env.production.example
File metadata and controls
42 lines (38 loc) · 1.79 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
# =============================================================================
# Production environment variables for docker-compose.production.yml
# =============================================================================
# Copy this file to .env and fill in your real values:
# cp .env.production.example .env
# Storage (Supabase)
DOCS_MCP_STORAGE_PROVIDER=supabase
DATABASE_URL=postgresql://user:pass@host:5432/postgres
SUPABASE_SCHEMA=docs_prod
# Auth (JWT / OAuth2 OIDC)
DOCS_MCP_AUTH_ENABLED=true
DOCS_MCP_AUTH_ISSUER_URL=https://your-auth-provider/.well-known/openid-configuration
DOCS_MCP_AUTH_AUDIENCE=urn:docs-mcp-server
# Embeddings (optional — remove or leave empty to use full text search only)
# OPENAI_API_KEY=sk-...
# DOCS_MCP_EMBEDDING_MODEL=openai:text-embedding-3-small
# =============================================================================
# Railway deployment (railway/worker.toml + railway/mcp.toml)
# =============================================================================
# Set these env vars in the Railway dashboard for each service.
#
# --- Worker service (private) ---
# DOCS_MCP_STORAGE_PROVIDER=supabase
# DATABASE_URL=postgresql://user:pass@host:5432/postgres
# SUPABASE_SCHEMA=docs_prod
# OPENAI_API_KEY=sk-... (optional)
# DOCS_MCP_EMBEDDING_MODEL=openai:text-embedding-3-small (optional)
#
# --- MCP service (public) ---
# DOCS_MCP_STORAGE_PROVIDER=supabase
# DATABASE_URL=postgresql://user:pass@host:5432/postgres
# SUPABASE_SCHEMA=docs_prod
# DOCS_MCP_AUTH_ENABLED=true
# DOCS_MCP_AUTH_ISSUER_URL=https://your-auth-provider/.well-known/openid-configuration
# DOCS_MCP_AUTH_AUDIENCE=urn:docs-mcp-server
#
# Connect to the worker using Railway reference variables:
# WORKER_URL=http://${{worker.RAILWAY_PRIVATE_DOMAIN}}:${{worker.PORT}}/api