Skip to content

外部数据存储环境变量(External data storage environment variables)#

File-based configuration

You can add _FILE to individual variables to provide their configuration in a separate file. Refer to Keeping sensitive data in separate files for more details.

有关使用外部存储二进制数据的更多信息,请参阅 外部存储

🌐 Refer to External storage for more information on using external storage for binary data.

变量 类型 默认 描述
“N8N_EXTERNAL_STORAGE_S3_HOST” - N8n 桶在兼容 S3 的外部存储中托管。例如,“s3.us-east-1.amazonaws.com”
'N8N_EXTERNAL_STORAGE_S3_BUCKET_NAME' - S3兼容外部存储中n8n桶的名称。
“N8N_EXTERNAL_STORAGE_S3_BUCKET_REGION” - S3兼容外部存储中n8n桶的区域。例如,“us-east-1”
'N8N_EXTERNAL_STORAGE_S3_ACCESS_KEY' - S3兼容外部存储中的访问密钥
'N8N_EXTERNAL_STORAGE_S3_ACCESS_SECRET' - 访问秘密存放在兼容S3的外部存储中。
'N8N_EXTERNAL_STORAGE_S3_AUTH_AUTO_DETECT' 布尔 - 使用自动凭证检测来认证S3调用用于外部存储。这样会忽略访问密钥和访问密钥,使用默认的[凭证提供者链](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/setting-credentials-node.html#credchain)。