From dbea608d4d02178834765349fd77effc50fc9f9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20de=20Matteo?= Date: Fri, 13 Jun 2025 22:06:16 -0300 Subject: [PATCH] #21010 --- .../install-self-hosted/environments.mdx | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/en/getting-started/install-self-hosted/environments.mdx b/en/getting-started/install-self-hosted/environments.mdx index 0259a82d..7318fcd6 100644 --- a/en/getting-started/install-self-hosted/environments.mdx +++ b/en/getting-started/install-self-hosted/environments.mdx @@ -103,7 +103,7 @@ Only effective when starting with docker image or docker-compose. - DIFY_BIND_ADDRESS: API service binding address, default: 0.0.0.0, i.e., all addresses can be accessed. - DIFY_PORT: API service binding port number, default to 5001. - SERVER_WORKER_AMOUNT: The number of API server workers, i.e., the number of gevent workers. Formula: `number of cpu cores x 2 + 1` - + Reference: [https://docs.gunicorn.org/en/stable/design.html#how-many-workers](https://docs.gunicorn.org/en/stable/design.html#how-many-workers) - SERVER_WORKER_CLASS: Defaults to gevent. If using windows, it can be switched to sync or solo. @@ -182,11 +182,11 @@ Used to store uploaded data set files, team/tenant encryption keys, and other fi Type of storage facility - local (default): Local file storage, if this option is selected, the following `STORAGE_LOCAL_PATH` configuration needs to be set. - + - s3: S3 object storage, if this option is selected, the following S3\_ prefixed configurations need to be set. - + - azure-blob: Azure Blob object storage, if this option is selected, the following AZURE_BLOB\_ prefixed configurations need to be set. - + - aliyun-oss: Alibaba Cloud OSS object storage, if this option is selected, the following ALIYUN_OSS\_ prefixed configurations need to be set. - huawei-obs: Huawei OBS object storage, if this option is selected, the following HUAWEI_OBS\_ prefixed configurations need to be set. @@ -544,7 +544,7 @@ Notion integration configuration variables can be obtained by applying for Notio - resend - MAIL_DEFAULT_SEND_FROM: The sender's email name, such as: no-reply [no-reply@dify.ai](mailto:no-reply@dify.ai), not mandatory. - RESEND_API_KEY: API-Key for the Resend email provider, can be obtained from API-Key. - + - smtp - SMTP_SERVER: SMTP server address - SMTP_PORT: SMTP server port number @@ -553,6 +553,12 @@ Notion integration configuration variables can be obtained by applying for Notio - SMTP_USE_TLS: Whether to use TLS, default is false - MAIL_DEFAULT_SEND_FROM: The sender's email name, such as: no-reply [no-reply@dify.ai](mailto:no-reply@dify.ai), not mandatory. + - sendgrid + - SENDGRID_API_KEY: API key for the SendGrid email provider. + - MAIL_DEFAULT_SEND_FROM: The sender's email address, e.g., your_email@sendgrid.com. This field is required for SendGrid authentication. + +For more details about the SendGrid email provider, please refer to the [SendGrid documentation](https://sendgrid.com/docs/for-developers/sending-email/). + ### ModelProvider & Tool Position Configuration Used to specify the model providers and tools that can be used in the app. These settings allow you to customize which tools and model providers are available, as well as their order and inclusion/exclusion in the app's interface. @@ -659,7 +665,7 @@ Used to set the browser policy for session cookies used for identity verificatio ## Chunk Length Configuration -### INDEXING_MAX_SEGMENTATION_TOKENS_LENGTH +### INDEXING_MAX_SEGMENTATION_TOKENS_LENGTH Configuration for document chunk length. It is used to control the size of text segments when processing long documents. Default: 500. Maximum: 4000. @@ -684,4 +690,3 @@ It will be automatically generated by the script. --- [Edit this page](https://github.com/langgenius/dify-docs/edit/main/en/getting-started/install-self-hosted/environments.mdx) | [Report an issue](https://github.com/langgenius/dify-docs/issues/new?title=Documentation%20Issue%3A%20onme&body=%23%23%20Issue%20Description%0A%3C%21--%20Please%20briefly%20describe%20the%20issue%20you%20found%20--%3E%0A%0A%23%23%20Page%20Link%0Ahttps%3A%2F%2Fgithub.com%2Flanggenius%2Fdify-docs%2Fblob%2Fmain%2Fen/getting-started/install-self-hosted%2Fenvironments.mdx%0A%0A%23%23%20Suggested%20Changes%0A%3C%21--%20If%20you%20have%20specific%20suggestions%20for%20changes%2C%20please%20describe%20them%20here%20--%3E%0A%0A%3C%21--%20Thank%20you%20for%20helping%20improve%20our%20documentation%21%20--%3E) -