We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bdfcc44 commit de6f2baCopy full SHA for de6f2ba
imageroot/actions/configure-module/20configure
@@ -30,7 +30,7 @@ if not os.path.exists("n8n-db.env"):
30
db = agent.read_envfile("database.env")
31
random_key = secrets.token_hex(16)
32
n8n_config = {
33
- "N8N_ENCRYPTION_KEY": random_key,
+ "N8N_ENCRYPTION_KEY": os.getenv("N8N_ENCRYPTION_KEY", random_key),
34
"DB_TYPE": "postgresdb",
35
"DB_POSTGRESDB_HOST": "n8n-pgsql",
36
"DB_POSTGRESDB_PORT": "5432",
0 commit comments