62 lines
1.6 KiB
Bash
62 lines
1.6 KiB
Bash
# Yargı MCP Server Environment Configuration
|
||
# Copy this file to .env and customize as needed
|
||
|
||
# Server Configuration
|
||
HOST=0.0.0.0
|
||
PORT=8000
|
||
LOG_LEVEL=info
|
||
|
||
# Authentication Configuration
|
||
ENABLE_AUTH=false # Set to true in production for JWT validation
|
||
|
||
# CORS Configuration
|
||
# Comma-separated list of allowed origins
|
||
# Use * to allow all origins (not recommended for production)
|
||
ALLOWED_ORIGINS=http://localhost:3000,http://localhost:8080,https://yourdomain.com
|
||
|
||
# Authentication (optional)
|
||
# Uncomment and set to enable token-based authentication
|
||
# API_TOKEN=your-secret-token-here
|
||
|
||
# Worker Configuration
|
||
# Number of worker processes (for production)
|
||
# WORKERS=4
|
||
|
||
# SSL Configuration (optional)
|
||
# SSL_CERT_FILE=/path/to/cert.pem
|
||
# SSL_KEY_FILE=/path/to/key.pem
|
||
|
||
# Database Timeouts (seconds)
|
||
# Adjust based on your network conditions
|
||
YARGITAY_TIMEOUT=60
|
||
DANISTAY_TIMEOUT=60
|
||
BEDESTEN_TIMEOUT=60
|
||
ANAYASA_TIMEOUT=90
|
||
KIK_TIMEOUT=45
|
||
REKABET_TIMEOUT=45
|
||
UYUSMAZLIK_TIMEOUT=30
|
||
EMSAL_TIMEOUT=60
|
||
|
||
# Development Settings
|
||
# Enable debug mode (not for production)
|
||
# DEBUG=false
|
||
|
||
# Monitoring (optional)
|
||
# Sentry DSN for error tracking
|
||
# SENTRY_DSN=https://your-sentry-dsn@sentry.io/project-id
|
||
|
||
# ------ Clerk ------
|
||
CLERK_PUBLISHABLE_KEY=pk_test_xxx
|
||
CLERK_SECRET_KEY=sk_test_xxx
|
||
CLERK_ISSUER=https://your-app.clerk.accounts.dev # issuer & JWKS root
|
||
|
||
# ------ Stripe ------
|
||
STRIPE_SECRET=sk_live_xxx
|
||
STRIPE_WEBHOOK_SECRET=whsec_xxx
|
||
|
||
# Application Configuration
|
||
APP_URL=http://localhost:8000
|
||
|
||
# OpenTelemetry Configuration (optional)
|
||
# OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317
|
||
# OTEL_SERVICE_NAME=yargi-mcp-server |