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 调用。这将忽略访问密钥和访问密钥,并使用默认的 凭据提供程序链