Spaces:
Running
Running
| # =========================================== | |
| # MCP.env HUB CONFIGURATION | |
| # =========================================== | |
| # App-Modus: 'mcp' oder 'app' (app ,modus for local) | |
| APP_MODE="mcp" | |
| # Transport: 'stdio' (lokal/Claude Desktop) oder 'sse' (HuggingFace/Remote) | |
| MCP_TRANSPORT="sse" | |
| # Für SSE/HuggingFace Spaces (added by app/app.py) | |
| # PORT="7860" | |
| # HOST="0.0.0.0" | |
| # Optional: Die App-URL für OpenRouter HTTP-Referer | |
| APP_URL="https://huggingface.co/spaces/codey-lab/Universal-MCP-Hub" | |
| # .env.example | |
| # This file serves as a template for your .env file. | |
| # Copy this file to a new file named .env and fill in the values. | |
| # IMPORTANT: Never commit the .env file to version control. | |
| # =========================================== | |
| # PyFundaments CORE CONFIGURATION | |
| # =========================================== | |
| # --- Database Connection --- | |
| # The complete Data Source Name (DSN) for your PostgreSQL database. | |
| # This works for both local instances and cloud providers like Neon.tech. | |
| # Example for Neon: postgresql://user:password@host.eu-central-1.aws.neon.tech/neondb?sslmode=require | |
| # Example for local: postgresql://user:password@localhost:5432/mydb | |
| # Leave empty or comment out if your app doesn't need database | |
| DATABASE_URL="your_database_dsn_here" | |
| # --- Application-Level Encryption Keys --- | |
| # These keys are used by the application itself to encrypt sensitive data | |
| # before it is written to the database. This provides an additional layer | |
| # of security for your data. | |
| # Comment out both lines if your app doesn't need encryption | |
| # The master key must be a 256-bit key (32 bytes). | |
| # | |
| MASTER_ENCRYPTION_KEY="your_256_bit_key_here" | |
| # | |
| # The salt is a unique, persistent value used with the master key. | |
| # It should also be a secure, random string. | |
| # | |
| PERSISTENT_ENCRYPTION_SALT="your_unique_salt_here" | |
| # | |
| # =========================================== | |
| # LOGGING CONFIGURATION (Optional) | |
| # =========================================== | |
| # PyFundaments Debug Mode (true/false) | |
| PYFUNDAMENTS_DEBUG="true" | |
| # Log level: DEBUG, INFO, WARNING, ERROR, CRITICAL | |
| LOG_LEVEL="DEBUG" | |
| # Store logs in /tmp directory (cleared on restart) | |
| LOG_TO_TMP="false" | |
| # Enable public logging (disable for production security) | |
| ENABLE_PUBLIC_LOGS="true" | |