From c8ff033a9e4547f99b38d2044908bd6d1aeecdb0 Mon Sep 17 00:00:00 2001 From: Leopere Date: Fri, 4 Apr 2025 21:18:50 -0400 Subject: [PATCH] fix: add n8n environment variables for file permissions and task runners --- stack.production.yml | 2 ++ stack.staging.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/stack.production.yml b/stack.production.yml index d33e850..bf649dd 100644 --- a/stack.production.yml +++ b/stack.production.yml @@ -29,6 +29,8 @@ services: N8N_PORT: 5678 N8N_PROTOCOL: ${N8N_PROTOCOL:-https} NODE_ENV: production + N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS: "true" + N8N_RUNNERS_ENABLED: "true" volumes: - n8n_data:/home/node/.n8n labels: diff --git a/stack.staging.yml b/stack.staging.yml index 9a4bc01..4c3e91a 100644 --- a/stack.staging.yml +++ b/stack.staging.yml @@ -57,6 +57,8 @@ services: N8N_PORT: 5678 N8N_PROTOCOL: ${N8N_PROTOCOL:-https} NODE_ENV: production + N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS: "true" + N8N_RUNNERS_ENABLED: "true" volumes: - n8n_data:/home/node/.n8n labels: