许可证环境变量#
基于文件的配置
您可以为单个变量添加_FILE,以便在单独的文件中提供其配置。详情请参阅将敏感数据保存在单独文件中。
要启用某些授权功能,您需要先激活许可证。您可以通过用户界面或设置环境变量来完成此操作。更多信息请参阅license key。
| 变量 | 类型 | 默认值 | 描述 |
|---|---|---|---|
N8N_HIDE_USAGE_PAGE |
boolean | false |
Hide the usage and plans page in the app. |
N8N_LICENSE_ACTIVATION_KEY |
String | '' |
Activation key to initialize license. Not applicable if the n8n instance was already activated. |
N8N_LICENSE_AUTO_RENEW_ENABLED |
Boolean | true |
Enables (true) or disables (false) autorenewal for licenses. If disabled, you need to manually renew the license every 10 days by navigating to Settings > Usage and plan, and pressing F5. Failure to renew the license will disable all licensed features. |
N8N_LICENSE_DETACH_FLOATING_ON_SHUTDOWN |
Boolean | true |
Controls whether the instance releases floating entitlements back to the pool upon shutdown. Set to true to allow other instances to reuse the entitlements, or false to retain them. For production instances that must always keep their licensed features, set this to false. |
N8N_LICENSE_SERVER_URL |
String | http://license.n8n.io/v1 |
Server URL to retrieve license. |
N8N_LICENSE_TENANT_ID |
Number | 1 |
Tenant ID associated with the license. Only set this variable if explicitly instructed by n8n. |
https_proxy_license_server |
String | https://user:pass@proxy:port |
Proxy server URL for HTTPS requests to retrieve license. This variable name needs to be lowercase. |