add asgi support

This commit is contained in:
saidsurucu
2025-06-26 16:22:27 +03:00
parent ad0c9834e7
commit 262ef5bef5
14 changed files with 1446 additions and 0 deletions
+47
View File
@@ -0,0 +1,47 @@
# 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
# 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
# OpenTelemetry Configuration (optional)
# OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317
# OTEL_SERVICE_NAME=yargi-mcp-server