# LogWhispererAI - Environment Variables # ============================================ # FRONTEND CONFIGURATION (VITE_* variables) # These are exposed to the browser # ============================================ # Backend API URL - where the frontend will make API calls # Example: https://srv-logwhispererai.lab.home.lucasacchi.net VITE_API_URL=http://localhost:3001 # Webhook base URL - used for displaying webhook URLs to users # Example: https://logwhispererai.lab.home.lucasacchi.net/webhook VITE_WEBHOOK_BASE_URL=http://localhost:3001/webhook # Install script URL - the curl command shown to users # Example: https://logwhispererai.lab.home.lucasacchi.net/install.sh VITE_INSTALL_SCRIPT_URL=http://localhost:3001/install.sh # Application identification VITE_APP_NAME=LogWhispererAI VITE_APP_URL=http://localhost:5173 # ============================================ # BACKEND CONFIGURATION # ============================================ # CORS Origins - comma-separated list of allowed frontend origins # Use '*' for development, set specific domains for production # Example: https://logwhispererai.lab.home.lucasacchi.net CORS_ORIGINS=* # Webhook base URL - used for generating webhook URLs # Example: https://logwhispererai.lab.home.lucasacchi.net/webhook WEBHOOK_BASE_URL=https://logwhisperer.ai/webhook # API delay simulation (milliseconds) DELAY_MS=1500 # Node environment NODE_ENV=development # ============================================ # OPTIONAL: Third-party Services # ============================================ # Telegram Bot Configuration # TELEGRAM_BOT_TOKEN=your_bot_token_here # TELEGRAM_CHAT_ID=your_chat_id_here # n8n Configuration # N8N_WEBHOOK_URL=https://your-n8n-instance.com/webhook/logwhisperer # AI Provider Configuration # OPENAI_API_KEY=your_openai_api_key_here # ANTHROPIC_API_KEY=your_anthropic_api_key_here # Supabase Configuration (per autenticazione e database) # SUPABASE_URL=https://your-project.supabase.co # SUPABASE_ANON_KEY=your_anon_key_here # Stripe Configuration (per pagamenti) # STRIPE_SECRET_KEY=sk_test_your_key_here # STRIPE_WEBHOOK_SECRET=whsec_your_webhook_secret_here