pdftools / .env.example
Shivakafle038's picture
PDF Tools Web App - compress, convert, watermark removal
32a841c
# LocalTools Configuration
# Copy this file to .env and customize as needed
# Debug mode (enables detailed logging)
LOCALTOOLS_DEBUG=false
# Directory paths (relative to server.py)
LOCALTOOLS_WORK_DIR=work
LOCALTOOLS_OUTPUT_DIR=outputs
LOCALTOOLS_STATIC_DIR=static
# File size limits (in MB)
LOCALTOOLS_MAX_PDF_SIZE_MB=100
LOCALTOOLS_MAX_IMAGE_SIZE_MB=50
# Minimum image dimension (filters out icons)
LOCALTOOLS_MIN_IMAGE_DIMENSION=50
# Request timeout (seconds)
LOCALTOOLS_REQUEST_TIMEOUT=60
# Cleanup settings
LOCALTOOLS_CLEANUP_INTERVAL_HOURS=24
LOCALTOOLS_FILE_RETENTION_HOURS=48