# QUANTARA - Environment Variables Template # Copy this file to '.env' and fill in the values. # Reference: docs/environment_variables.md # ========================================== # Database Configuration # ========================================== # [Required in Production] PostgreSQL username DB_USER=postgres # [Required in Production] PostgreSQL password DB_PASSWORD=password # [Required in Production] PostgreSQL host (use 'db' for Docker Compose, 'localhost' for local backend run) DB_HOST=localhost # [Required in Production] PostgreSQL database name DB_NAME=quantara # [Optional] PostgreSQL port (default: 5432) DB_PORT=5432 # ========================================== # Application Configuration # ========================================== # [Optional] Environment version (set to 'PROD' for production behavior) ENV_VERSION=DEV # [Required in Production] Secret key used to sign session cookies (must be at least 32 characters) # You can generate a random secret key with: python -c "import os; print(os.urandom(32).hex())" SESSION_SECRET_KEY=your_session_secret_key_at_least_32_chars_long # ========================================== # Stellar/Soroban Configuration # ========================================== # [Optional] Stellar Horizon endpoint URL STELLAR_HORIZON_URL=https://horizon-testnet.stellar.org # [Optional] Soroban RPC endpoint URL STELLAR_SOROBAN_RPC_URL=https://soroban-testnet.stellar.org # [Optional] Stellar Network Passphrase STELLAR_NETWORK_PASSPHRASE=Test SDF Network ; September 2015 # ========================================== # Telegram Integration # ========================================== # [Optional] Telegram Bot API Token (e.g. from BotFather) TELEGRAM_TOKEN=123456789:ABCdefGhIJKlmNoPQRsTUVwxyZ # [Optional] URL for the Telegram WebApp / Mini-App (default: https://quantara.xyz) TELEGRAM_WEBAPP_URL=https://quantara.xyz # ========================================== # Monitoring # ========================================== # [Required in Production] Sentry DSN for error tracking SENTRY_DSN=https://examplePublicKey@o0.ingest.sentry.io/0