# Enterprise PDF Accessibility Checker - Environment Variables # Copy this file to .env and fill in your API keys # Anthropic Claude API Key (required for AI image analysis) # Get your key from: https://console.anthropic.com/ ANTHROPIC_API_KEY=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 # Google Cloud Vision API (OPTIONAL - for enhanced image analysis) # IMPORTANT: Comment out or remove lines you're not using! # # Option 1: Use credentials file path (UNCOMMENT and set path if using) # GOOGLE_APPLICATION_CREDENTIALS=/path/to/your/google-credentials.json # Option 2: Or use API key directly (UNCOMMENT and set key if using) GOOGLE_API_KEY=AIzaSyDWVxBWiDTeECqapiUpbXJadrxqcoA9tus # Note: You only need ONE of the Google options above, not both # The credentials file method is recommended for production use # Development mode - set to 'true' for localhost auth bypass DEV_MODE=true # Database (PostgreSQL) - used in Docker setup DB_HOST=postgres DB_PORT=5432 DB_NAME=pdf_checker DB_USER=pdf_checker DB_PASSWORD=change_me_in_production # Cloud Run - PDF processing service # Set this to your deployed Cloud Run URL (leave empty for local Python fallback) CLOUD_RUN_URL=https://pdf-checker-bcb6ipdqka-uc.a.run.app # Path to GCP service account key for authenticating to Cloud Run GCP_SA_KEY_PATH=./pdf-api-invoker-key.json # GCS bucket for page images GCS_BUCKET_NAME=optical-pdf-images # File retention # Uploaded PDFs are deleted after RETENTION_HOURS (default 24h) # Result/meta JSON files are kept for RESULTS_RETENTION_HOURS (default 720h = 30 days) RETENTION_HOURS=24 RESULTS_RETENTION_HOURS=720 # Azure AD / MSAL Authentication AZURE_TENANT_ID=e519c2e6-bc6d-4fdf-8d9c-923c2f002385 AZURE_CLIENT_ID=9079054c-9620-4757-a256-23413042f1ef AZURE_REDIRECT_URI=https://ai-sandbox.oliver.solutions/pdf-accessibility