# InfoXtractor runtime configuration. # Every variable is optional; defaults are suitable for running against the # on-prem stack (Ollama on :11434, postgis on :5431). Copy to .env and fill in # the Postgres password. # --- Job store ----------------------------------------------------------- IX_POSTGRES_URL=postgresql+asyncpg://infoxtractor:@host.docker.internal:5431/infoxtractor # --- LLM backend --------------------------------------------------------- IX_OLLAMA_URL=http://host.docker.internal:11434 IX_DEFAULT_MODEL=qwen3:14b # --- OCR ----------------------------------------------------------------- IX_OCR_ENGINE=surya # --- Pipeline behavior --------------------------------------------------- IX_PIPELINE_WORKER_CONCURRENCY=1 IX_PIPELINE_REQUEST_TIMEOUT_SECONDS=2700 IX_GENAI_CALL_TIMEOUT_SECONDS=1500 IX_RENDER_MAX_PIXELS_PER_PAGE=75000000 # --- File fetching ------------------------------------------------------- IX_TMP_DIR=/tmp/ix IX_FILE_MAX_BYTES=52428800 IX_FILE_CONNECT_TIMEOUT_SECONDS=10 IX_FILE_READ_TIMEOUT_SECONDS=30 # --- Transport / callbacks ---------------------------------------------- IX_CALLBACK_TIMEOUT_SECONDS=10 # --- Observability ------------------------------------------------------- IX_LOG_LEVEL=INFO # --- Test-only ----------------------------------------------------------- # Set IX_TEST_MODE=fake to have the pipeline factory build FakeOCRClient / # FakeGenAIClient instead of real ones (used by integration tests). # IX_TEST_MODE=fake # Set IX_TEST_OLLAMA=1 on the Mac to enable tests that require a real # Ollama / Surya instance (tests/live/). # IX_TEST_OLLAMA=1