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 字符串 - n8n 桶在 S3 兼容外部存储中的区域。例如,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 调用。这将忽略访问密钥和访问密钥密文,并使用默认的 凭证提供者链