From e0666ea904721bd2d0010f25d02428a97677065d Mon Sep 17 00:00:00 2001 From: lorentz Date: Sun, 19 Apr 2026 22:06:00 -0400 Subject: [PATCH] Add playbooks/templates/n8n.env.j2 --- playbooks/templates/n8n.env.j2 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 playbooks/templates/n8n.env.j2 diff --git a/playbooks/templates/n8n.env.j2 b/playbooks/templates/n8n.env.j2 new file mode 100644 index 0000000..ef2e77e --- /dev/null +++ b/playbooks/templates/n8n.env.j2 @@ -0,0 +1,23 @@ +N8N_HOST={{ n8n_url }} +N8N_PROTOCOL=https +N8N_PORT=5678 +WEBHOOK_URL=https://{{ n8n_url }}/ + +GENERIC_TIMEZONE=America/New_York +TZ=America/New_York + +DB_TYPE=postgresdb +DB_POSTGRESDB_HOST=postgres +DB_POSTGRESDB_PORT=5432 +DB_POSTGRESDB_DATABASE=n8n +DB_POSTGRESDB_USER=n8n +DB_POSTGRESDB_PASSWORD={{ n8n_postgres_password }} + +N8N_ENCRYPTION_KEY={{ n8n_encryption_key }} + +N8N_BASIC_AUTH_ACTIVE=false +N8N_USER_MANAGEMENT_DISABLED=false + +EXECUTIONS_DATA_PRUNE=true +EXECUTIONS_DATA_MAX_AGE=168 +EXECUTIONS_DATA_PRUNE_MAX_COUNT=10000 \ No newline at end of file