mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
✨ Add support for "_FILE" environment variables
This commit is contained in:
@@ -73,6 +73,11 @@ By default n8n uses SQLite to save credentials, past executions and workflows.
|
||||
n8n however also supports MongoDB and PostgresDB. To use them simply a few
|
||||
environment variables have to be set.
|
||||
|
||||
To avoid passing sensitive information via environment variables "_FILE" may be
|
||||
appended to the database environment variables (for example "DB_POSTGRESDB_PASSWORD_FILE").
|
||||
It will then load the data from a file with the given name. That makes it possible to
|
||||
load data easily from Docker- and Kubernetes-Secrets.
|
||||
|
||||
It is important to still persist the data in the `/root/.n8` folder. The reason
|
||||
is that it contains n8n user data. That is the name of the webhook
|
||||
(in case) the n8n tunnel gets used and even more important the encryption key
|
||||
|
||||
Reference in New Issue
Block a user