Skip to content

Commit 0262cb8

Browse files
committed
fix: update env variables
1 parent 2e855c0 commit 0262cb8

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

docs/self-hosting/environment-variables.md

+10-3
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ To configure your application, set the following environment variables. These va
3131

3232
### Using Local storage
3333

34-
| Variable | Example | Description |
35-
| ---------------- | ------- | ------------------------------------------- |
36-
| `STORAGE_DRIVER` | `local` | The storage driver to use for file storage. |
34+
| Variable | Example | Description |
35+
|---------------------|---------|----------------------------------------------------|
36+
| `STORAGE_DRIVER` | `local` | The storage driver to use for file storage. |
37+
| `FILE_UPLOAD_SIZE_LIMIT` | `50mb` | The maximum file size per upload. Default is 50mb. |
3738

3839
### Using S3-compatible storage
3940

@@ -69,3 +70,9 @@ To configure your application, set the following environment variables. These va
6970
| `POSTMARK_TOKEN` | | The token for Postmark, if using Postmark as the `MAIL_DRIVER`. |
7071
| `MAIL_FROM_ADDRESS` | `[email protected]` | The email address that emails will be sent from. |
7172
| `MAIL_FROM_NAME` | `Docmost` | The name that emails will be sent from. |
73+
74+
## DRAW.IO (Diagrams.net) configuration
75+
The default Draw.io embed url is `https://embed.diagrams.net`.
76+
| Variable | Example | Description |
77+
|-----------| ------------------------ |----------------------------|
78+
| `DRAWIO_URL` | `https://embed.diagrams.net` | Your custom DRAWIO URL server url. |

0 commit comments

Comments
 (0)