Increasing the size of the binary scan file
When using Black Duck Binary Analysis, the maximum size of the binary that can be scanned
is 20 GB. You can increase this limit by adding the environment variable
BINARY_UPLOAD_MAX_SIZE
to the
docker-compose.local-overrides.yml
file or by setting this globally
in blackduck-config.env
and specifying a value in megabytes.
For example, to increase the maximum binary scan to 10 GB, add the following:
webserver:
environment:
BINARY_UPLOAD_MAX_SIZE: 10240m
storage:
environment:
BINARY_UPLOAD_MAX_SIZE: 10240m
scan:
environment:
BINARY_UPLOAD_MAX_SIZE: 10240m
After updating the file when deploying the stack, ensure that the
docker-compose.local-overrides.yml
file is included as a command
line parameter in the deploy command:
docker stack deploy -c docker-compose.yaml -c ... -c docker-compose.local-overrides.yml