mirror of
https://github.com/YunoHost-Apps/n8n_ynh.git
synced 2024-09-03 19:55:52 +02:00
commit
e620030b0f
8 changed files with 18 additions and 19 deletions
|
@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
||||||
|
|
||||||
n8n is an extendable workflow automation tool. With a fair-code distribution model, n8n will always have visible source code, be available to self-host, and allow you to add your own custom functions, logic and apps. n8n's node-based approach makes it highly versatile, enabling you to connect anything to everything.
|
n8n is an extendable workflow automation tool. With a fair-code distribution model, n8n will always have visible source code, be available to self-host, and allow you to add your own custom functions, logic and apps. n8n's node-based approach makes it highly versatile, enabling you to connect anything to everything.
|
||||||
|
|
||||||
**Shipped version:** 0.203.1~ynh1
|
**Shipped version:** 0.218.0~ynh1
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
|
|
|
@ -21,4 +21,4 @@ Notification=none
|
||||||
;;; Upgrade options
|
;;; Upgrade options
|
||||||
; commit=0d34c8a15f95a3dc3b9e1d233bc03410d182628a
|
; commit=0d34c8a15f95a3dc3b9e1d233bc03410d182628a
|
||||||
name=#29
|
name=#29
|
||||||
manifest_arg=domain=DOMAIN&path=PATH&admin=USER&language=fr&is_public=1&password=pass&port=9001&
|
manifest_arg=domain=DOMAIN&path=PATH&admin=USER&language=fr&is_public=1&port=9001&
|
||||||
|
|
12
conf/.env
12
conf/.env
|
@ -1,10 +1,8 @@
|
||||||
# Folder where data should be saved
|
# Folder where data should be saved
|
||||||
N8N_USER_FOLDER=__DATADIR__
|
N8N_USER_FOLDER=__DATADIR__
|
||||||
|
|
||||||
# Authentication - IMPORTANT ALWAYS CHANGE!
|
# Disable Basic Auth in favour of User Management
|
||||||
N8N_BASIC_AUTH_ACTIVE=true
|
N8N_BASIC_AUTH_ACTIVE=false
|
||||||
N8N_BASIC_AUTH_USER=__ADMIN__
|
|
||||||
N8N_BASIC_AUTH_PASSWORD="__PASSWORD__"
|
|
||||||
|
|
||||||
# The path n8n is deployed to.
|
# The path n8n is deployed to.
|
||||||
N8N_PATH=__PATH__/
|
N8N_PATH=__PATH__/
|
||||||
|
@ -15,11 +13,16 @@ WEBHOOK_URL=https://__DOMAIN____PATH__
|
||||||
# Optional timezone to set which gets used by Cron-Node by default
|
# Optional timezone to set which gets used by Cron-Node by default
|
||||||
# If not set New York time will be used
|
# If not set New York time will be used
|
||||||
GENERIC_TIMEZONE=__TIMEZONE__
|
GENERIC_TIMEZONE=__TIMEZONE__
|
||||||
|
TZ=__TIMEZONE__
|
||||||
|
|
||||||
# Use http (we're behind a reverse-proxy)
|
# Use http (we're behind a reverse-proxy)
|
||||||
N8N_PROTOCOL=http
|
N8N_PROTOCOL=http
|
||||||
N8N_LISTEN_ADDRESS=127.0.0.1
|
N8N_LISTEN_ADDRESS=127.0.0.1
|
||||||
|
|
||||||
|
# Use filesystem for binary data and keep it for 2 hours
|
||||||
|
N8N_DEFAULT_BINARY_DATA_MODE=filesystem
|
||||||
|
N8N_PERSISTED_BINARY_DATA_TTL=120
|
||||||
|
|
||||||
DB_TYPE=mysqldb
|
DB_TYPE=mysqldb
|
||||||
DB_MYSQLDB_DATABASE=__DB_NAME__
|
DB_MYSQLDB_DATABASE=__DB_NAME__
|
||||||
DB_MYSQLDB_HOST="localhost"
|
DB_MYSQLDB_HOST="localhost"
|
||||||
|
@ -33,6 +36,7 @@ EXECUTIONS_DATA_SAVE_ON_PROGRESS=true
|
||||||
EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS=false
|
EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS=false
|
||||||
EXECUTIONS_DATA_PRUNE=true
|
EXECUTIONS_DATA_PRUNE=true
|
||||||
EXECUTIONS_DATA_MAX_AGE=168
|
EXECUTIONS_DATA_MAX_AGE=168
|
||||||
|
EXECUTIONS_DATA_PRUNE_MAX_COUNT=2000
|
||||||
|
|
||||||
N8N_EMAIL_MODE=smtp
|
N8N_EMAIL_MODE=smtp
|
||||||
N8N_SMTP_HOST=localhost
|
N8N_SMTP_HOST=localhost
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Workflow Automation Tool. Easily automate tasks across different services",
|
"en": "Workflow Automation Tool. Easily automate tasks across different services",
|
||||||
"fr": "Outil d'automatisation du flux de travail. Automatisez facilement les tâches sur différents services"
|
"fr": "Outil d'automatisation du flux de travail. Automatisez facilement les tâches sur différents services"
|
||||||
},
|
},
|
||||||
"version": "0.203.1~ynh1",
|
"version": "0.218.0~ynh1",
|
||||||
"url": "https://n8n.io/",
|
"url": "https://n8n.io/",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
|
@ -39,7 +39,11 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "admin",
|
"name": "admin",
|
||||||
"type": "user"
|
"type": "user",
|
||||||
|
"help": {
|
||||||
|
"en": "Users email address to use for notifications",
|
||||||
|
"fr": "Adresse e-mail des utilisateurs à utiliser pour les notifications"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "is_public",
|
"name": "is_public",
|
||||||
|
@ -49,10 +53,6 @@
|
||||||
"fr": "Si cette case est cochée, n8n sera accessible aux personnes n’ayant pas de compte. Vous pourrez changer ceci plus tard via la webadmin."
|
"fr": "Si cette case est cochée, n8n sera accessible aux personnes n’ayant pas de compte. Vous pourrez changer ceci plus tard via la webadmin."
|
||||||
},
|
},
|
||||||
"default": true
|
"default": true
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "password",
|
|
||||||
"type": "password"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
nodejs_version=16
|
nodejs_version=16
|
||||||
|
|
||||||
n8n_version=0.203.1
|
n8n_version=0.218.0
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# PERSONAL HELPERS
|
# PERSONAL HELPERS
|
||||||
|
|
|
@ -34,7 +34,6 @@ db_user=$db_name
|
||||||
db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd)
|
db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd)
|
||||||
datadir=$(ynh_app_setting_get --app=$app --key=datadir)
|
datadir=$(ynh_app_setting_get --app=$app --key=datadir)
|
||||||
admin=$(ynh_app_setting_get --app=$app --key=admin)
|
admin=$(ynh_app_setting_get --app=$app --key=admin)
|
||||||
password=$(ynh_app_setting_get --app=$app --key=password)
|
|
||||||
timezone="$(cat /etc/timezone)"
|
timezone="$(cat /etc/timezone)"
|
||||||
email=$(ynh_app_setting_get --app=$app --key=email)
|
email=$(ynh_app_setting_get --app=$app --key=email)
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,6 @@ ynh_abort_if_errors
|
||||||
domain=$YNH_APP_ARG_DOMAIN
|
domain=$YNH_APP_ARG_DOMAIN
|
||||||
path_url=$YNH_APP_ARG_PATH
|
path_url=$YNH_APP_ARG_PATH
|
||||||
is_public=$YNH_APP_ARG_IS_PUBLIC
|
is_public=$YNH_APP_ARG_IS_PUBLIC
|
||||||
password=$YNH_APP_ARG_PASSWORD
|
|
||||||
admin=$YNH_APP_ARG_ADMIN
|
admin=$YNH_APP_ARG_ADMIN
|
||||||
timezone="$(cat /etc/timezone)"
|
timezone="$(cat /etc/timezone)"
|
||||||
email=$(ynh_user_get_info --username=$admin --key=mail)
|
email=$(ynh_user_get_info --username=$admin --key=mail)
|
||||||
|
@ -51,8 +50,6 @@ ynh_script_progression --message="Storing installation settings..." --weight=2
|
||||||
|
|
||||||
ynh_app_setting_set --app=$app --key=domain --value=$domain
|
ynh_app_setting_set --app=$app --key=domain --value=$domain
|
||||||
ynh_app_setting_set --app=$app --key=path --value=$path_url
|
ynh_app_setting_set --app=$app --key=path --value=$path_url
|
||||||
ynh_app_setting_set --app=$app --key=admin --value=$admin
|
|
||||||
ynh_app_setting_set --app=$app --key=password --value="$password"
|
|
||||||
ynh_app_setting_set --app=$app --key=email --value=$email
|
ynh_app_setting_set --app=$app --key=email --value=$email
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -25,7 +25,6 @@ db_user=$db_name
|
||||||
db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd)
|
db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd)
|
||||||
datadir=$(ynh_app_setting_get --app=$app --key=datadir)
|
datadir=$(ynh_app_setting_get --app=$app --key=datadir)
|
||||||
admin=$(ynh_app_setting_get --app=$app --key=admin)
|
admin=$(ynh_app_setting_get --app=$app --key=admin)
|
||||||
password=$(ynh_app_setting_get --app=$app --key=password)
|
|
||||||
timezone="$(cat /etc/timezone)"
|
timezone="$(cat /etc/timezone)"
|
||||||
email=$(ynh_app_setting_get --app=$app --key=email)
|
email=$(ynh_app_setting_get --app=$app --key=email)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue