pdf-accessibility/.env.example
Vadym Samoilenko 112719b2c5 Add Docker stack, frontend redesign, and visual page inspector fix
- Redesigned frontend with Outfit/Figtree typography, coral accent palette,
  noise texture, glassmorphism header, and staggered animations
- Split monolithic index.html into modular JS (app, api, upload, batch,
  results, page-viewer, utils) and extracted CSS
- Fixed worker.py to generate page images for Visual Page Inspector
- Added Docker Compose stack (web, worker, redis, postgres)
- Added batch upload, HTML report export, rate limiting, and Redis queue
- Extended test suite with checker, remediation, worker, and DB tests

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 18:12:44 +00:00

40 lines
1.4 KiB
Text

# 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
# Redis - used for job queue in Docker setup
REDIS_HOST=redis
REDIS_PORT=6379
# Worker configuration
WORKER_COUNT=2
# 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