From c41ad794fc6a22cebdd68e843f047bb825ba9056 Mon Sep 17 00:00:00 2001 From: Raju Udava <86527202+dstala@users.noreply.github.com> Date: Fri, 20 Oct 2023 20:43:43 +0530 Subject: [PATCH] docs: information about related env variables Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> --- .../040.field-types/050.custom-types/010.attachment.md | 10 +++++++++- .../130.automation/020.webhook/020.create-webhook.md | 6 +++++- 2 files changed, 14 insertions(+), 2 deletions(-) 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