You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,8 @@ To run properly, the iExec Result Proxy requires:
15
15
16
16
You can configure the iExec Result Proxy with the following properties:
17
17
18
+
### Main application properties
19
+
18
20
| Environment variable | Description | Type | Default value |
19
21
| --- | --- | --- | --- |
20
22
|`IEXEC_RESULT_PROXY_PORT`| Server HTTP port of the result proxy. | Positive integer |`13200`|
@@ -30,6 +32,17 @@ You can configure the iExec Result Proxy with the following properties:
30
32
|`IEXEC_IPFS_HOST`| Host to connect to the IPFS node. | String |`127.0.0.1`|
31
33
|`IEXEC_IPFS_PORT`| Server port of the IPFS node. | Positive integer |`5001`|
32
34
35
+
### Spring web application properties
36
+
37
+
In addition to the aforementioned properties, it is possible to leverage [Spring Common Application Properties](https://docs.spring.io/spring-boot/docs/current/reference/html/application-properties.html).
38
+
More specifically, you may want to configure limits of uploadable file sizes.
39
+
In order to do so, you can override the default for the following [Web Properties](https://docs.spring.io/spring-boot/docs/current/reference/html/application-properties.html#appendix.application-properties.web).
40
+
41
+
| Environment variable | Description | Type | Default value |
42
+
| --- | --- | --- | --- |
43
+
|`SPRING_SERVLET_MULTIPART_MAX_FILE_SIZE`| Max file size. | String |`1MB`|
44
+
|`SPRING_SERVLET_MULTIPART_MAX_REQUEST_SIZE`| Max request size. | String |`10MB`|
45
+
33
46
## Health checks
34
47
35
48
A health endpoint (`/actuator/health`) is enabled by default and can be accessed on the **IEXEC_RESULT_PROXY_PORT**.
0 commit comments