diff --git a/packages/noco-docs/docs/070.fields/040.field-types/050.custom-types/010.attachment.md b/packages/noco-docs/docs/070.fields/040.field-types/050.custom-types/010.attachment.md index 67fcc45383..9d87aec605 100644 --- a/packages/noco-docs/docs/070.fields/040.field-types/050.custom-types/010.attachment.md +++ b/packages/noco-docs/docs/070.fields/040.field-types/050.custom-types/010.attachment.md @@ -59,4 +59,12 @@ Expand modal supports the following actions: :::note Rename file only renames the file in NocoDB display (expand record & tool tip on hover). It does not rename the file in the storage. -::: \ No newline at end of file +::: + +## Environment variables +In self-hosted version, you can configure the following environment variables to customize the behavior of `Attachment` field. +- NC_ATTACHMENT_FIELD_SIZE: Max size of attachment file in bytes. Default: 20MB +- NC_SECURE_ATTACHMENTS: Allow accessing attachments only through pre-signed URLs. Default: false +- NC_ATTACHMENT_EXPIRE_SECONDS: Expiry time for pre-signed URLs. Default: 7200 + +Find more about environment variables [here](/getting-started/self-hosted/environment-variables) \ No newline at end of file diff --git a/packages/noco-docs/docs/130.automation/020.webhook/020.create-webhook.md b/packages/noco-docs/docs/130.automation/020.webhook/020.create-webhook.md index 1e90732068..308dc83dd2 100644 --- a/packages/noco-docs/docs/130.automation/020.webhook/020.create-webhook.md +++ b/packages/noco-docs/docs/130.automation/020.webhook/020.create-webhook.md @@ -246,7 +246,6 @@ keywords: ['NocoDB webhook', 'create webhook'] - [//]: # (## Call Log) [//]: # () @@ -263,3 +262,8 @@ keywords: ['NocoDB webhook', 'create webhook'] [//]: # (![image](https://user-images.githubusercontent.com/35857179/228790148-1e3f21c7-9385-413a-843f-b93073ca6bea.png)) +## Environment Variables +In self-hosted version, you can configure the following environment variables to customize the webhook behavior. +- NC_ALLOW_LOCAL_HOOKS: Allow localhost based links to be triggered. Default: false + +Find more about environment variables [here](/getting-started/self-hosted/environment-variables) \ No newline at end of file