...
By Default, you can sign until 1GB without add customization, but if you want sign files over 1GB, you must add customization properties
...
Where you can replace this placeholder:
Code Block |
---|
MAX_REQUESTMULTIPART -> is the max file size you want sign in GB (our advise is greater than the file size you want sign) MAX_MULTIPARTREQUEST -> is the max file of request (should be at the least the value of MAX_REQUEST) |
For example if you want sign a file of 3GB, you can use this value:
Code Block |
---|
MAX_REQUEST = 4 5 MAX_MULTIPART = 54 |
And the properties of docker run run will be:
Code Block |
---|
docker run ... -e SPRING_SERVLET_MULTIPART_MAX_REQUEST_SIZE=4GB5GB -e SPRING_SERVLET_MULTIPART_MAX_FILE_SIZE=5GB4GB |
Note |
---|
IMPORTANT: the disk free space must be at least a double of MAX_MULTIPART value, in the above, you should have at least 10GB free |