# Environment Variables # Copy this file to .env and update the values # JWT Secret for authentication (generate a secure random string) JWT_SECRET=your-secure-jwt-secret-key-here # PostgreSQL database password DBPASS=your-secure-database-password-here # Test Mode Configuration (WARNING: Only set to true for integration testing) # When enabled, rate limiting is disabled to allow rapid test execution # Never enable in production environments TEST_MODE=false # Rate Limiting Configuration # Set to false to disable rate limiting (only for test environments) RATE_LIMIT_ENABLED=true # Number of requests allowed per minute per IP (default: 10) # Increase for integration testing (e.g., 1000) REQUESTS_PER_MINUTE=10 # Conversion Service Configuration # Directory for caching converted files (KEPUB, etc.) BOOKMANN_CONVERSION_CACHE_DIR=/var/bookmann/cache/kepub # Conversion tool to use (kepubify or ebook-convert) BOOKMANN_CONVERSION_TOOL=/usr/bin/kepubify # Cache TTL for converted files (e.g., 24h, 12h, 48h) BOOKMANN_CONVERSION_CACHE_TTL=24h