# Astrologer Studio - Environment Configuration # Copy this file to .env and fill in your values # ============================================================================= # DATABASE # ============================================================================= # PostgreSQL connection string DATABASE_URL="postgresql://user:password@localhost:5432/astrologer_studio" # ============================================================================= # SECURITY # ============================================================================= # Secret key for session encryption (min 32 characters) # Generate with: openssl rand -base64 32 SESSION_SECRET="" # ============================================================================= # EXTERNAL APIS # ============================================================================= # Astrologer API - powers astrological calculations # Get your key from: https://rapidapi.com/gbattaglia/api/astrologer # Self Host: https://github.com/g-battaglia/Astrologer-API ASTROLOGER_API_KEY="" # GeoNames API - city/location search # Create a free account at: https://www.geonames.org/login GEONAMES_USERNAME="" # ============================================================================= # APPLICATION # ============================================================================= # Your application URL NEXT_PUBLIC_APP_URL="http://localhost:3000" # ============================================================================= # AI INTERPRETATIONS (Optional) # ============================================================================= # OpenRouter API key for AI chart interpretations # Get your key from: https://openrouter.ai/keys OPENROUTER_API_KEY="" # Enable AI features NEXT_PUBLIC_ENABLE_AI_INTERPRETATION="false" # ============================================================================= # RECAPTCHA # ============================================================================= # For self-hosted environments, set to "true" to disable reCAPTCHA NEXT_PUBLIC_DISABLE_RECAPTCHA=true