fix(compose): wire ANALYSIS_OCR_MAX_DECODE_PIXELS into the backend service

The OCR decompression-bomb guard added the env var to .env.example and
config.rs but not docker-compose.yml, so the container never received it
and the compose-env-coverage test failed once the branches were integrated.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
MechaCat02
2026-07-01 07:25:59 +02:00
parent 3cba9ecf95
commit 5596e1920d
4 changed files with 4 additions and 3 deletions

View File

@@ -167,6 +167,7 @@ services:
ANALYSIS_TALL_ASPECT: ${ANALYSIS_TALL_ASPECT:-1.6}
ANALYSIS_MAX_SLICES: ${ANALYSIS_MAX_SLICES:-16}
ANALYSIS_MAX_IMAGE_BYTES: ${ANALYSIS_MAX_IMAGE_BYTES:-8388608}
ANALYSIS_OCR_MAX_DECODE_PIXELS: ${ANALYSIS_OCR_MAX_DECODE_PIXELS:-100000000}
ANALYSIS_RESPONSE_FORMAT: ${ANALYSIS_RESPONSE_FORMAT:-json_schema}
ANALYSIS_FREQUENCY_PENALTY: ${ANALYSIS_FREQUENCY_PENALTY:-0.3}
ANALYSIS_TEMPERATURE: ${ANALYSIS_TEMPERATURE:-0.0}