Update to 2021-08-23 18:00

master
Daniel Berteaud 3 years ago
parent faf023db1c
commit dc8eb29f8a
  1. 5
      roles/n8n/defaults/main.yml
  2. 3
      roles/n8n/templates/env.j2

@ -56,3 +56,8 @@ n8n_data_max_age: 2160
# Memory limit for the service, in MB # Memory limit for the service, in MB
n8n_mem_limit: 2048 n8n_mem_limit: 2048
# Extra env var to pass to the service
# n8n_env_var:
# NODE_FUNCTION_ALLOW_BUILTIN: request-promise-native
n8n_env_var: {}

@ -5,3 +5,6 @@ VUE_APP_URL_BASE_API={{ n8n_public_url }}
N8N_ENCRYPTION_KEY={{ n8n_secret_key | quote }} N8N_ENCRYPTION_KEY={{ n8n_secret_key | quote }}
EXECUTIONS_DATA_PRUNE=true EXECUTIONS_DATA_PRUNE=true
EXECUTIONS_DATA_MAX_AGE={{ n8n_data_max_age }} EXECUTIONS_DATA_MAX_AGE={{ n8n_data_max_age }}
{% for env in n8n_env_var.keys() | list %}
{{ env }}={{ n8n_env_var[env] }}
{% endfor %}

Loading…
Cancel
Save