|
#!/bin/bash |
|
|
|
current_time=$(date +"%Y-%m-%d %H:%M:%S") |
|
echo "Starting n8n at $current_time" |
|
|
|
|
|
export N8N_ENCRYPTION_KEY="n8n8n8n" |
|
|
|
export NODE_FUNCTION_ALLOW_BUILTIN=* |
|
|
|
export NODE_FUNCTION_ALLOW_EXTERNAL=* |
|
|
|
export EXECUTIONS_DATA_PRUNE=true |
|
|
|
export EXECUTIONS_DATA_MAX_AGE=36 |
|
|
|
export EXECUTIONS_DATA_PRUNE_MAX_COUNT=1000 |
|
|
|
export EXECUTIONS_DATA_SAVE_ON_ERROR=all |
|
|
|
export EXECUTIONS_DATA_SAVE_ON_SUCCESS=all |
|
|
|
export EXECUTIONS_DATA_SAVE_ON_PROGRESS=false |
|
|
|
export EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS=false |
|
|
|
|
|
exec n8n start |
|
|