Перейти к основному содержимому

Configuration

Mandolin settings​

Environment variables of the mandolin service:

Environment variableDescription
TIKA_URLAddress of the Apache Tika server.
CLAMAV_URLAddress of the ClamAV server, without a trailing slash.
MAX_FILE_SIZEMaximum size in bytes of the files that can be analyzed. Default: 250000000 (250 MB).
предупреждение

Do not add a trailing slash to CLAMAV_URL. Mandolin appends /v2/scan to it, and the resulting //v2/scan is redirected by ClamAV, which makes every antivirus scan fail with success: false and an empty error.

Colander settings​

Environment variables of Colander related to Mandolin:

Environment variableDescription
USE_MANDOLINEnables the analysis of artifacts. Default: True. With the Ansible playbooks, set with use_mandolin, see Per-host customization.
MANDOLIN_BASE_URLAddress of Mandolin. Default: http://mandolin:8000.