Browse Source

docs: information about related env variables

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/6766/head
Raju Udava 1 year ago
parent
commit
c41ad794fc
  1. 10
      packages/noco-docs/docs/070.fields/040.field-types/050.custom-types/010.attachment.md
  2. 6
      packages/noco-docs/docs/130.automation/020.webhook/020.create-webhook.md

10
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.
:::
:::
## 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)

6
packages/noco-docs/docs/130.automation/020.webhook/020.create-webhook.md

@ -246,7 +246,6 @@ keywords: ['NocoDB webhook', 'create webhook']
</Tabs>
[//]: # (## Call Log)
[//]: # ()
@ -263,3 +262,8 @@ keywords: ['NocoDB webhook', 'create webhook']
[//]: # (![image]&#40;https://user-images.githubusercontent.com/35857179/228790148-1e3f21c7-9385-413a-843f-b93073ca6bea.png&#41;)
## 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)
Loading…
Cancel
Save