1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/n8n_ynh.git synced 2024-09-03 19:55:52 +02:00

add email var

This commit is contained in:
ericgaspar 2022-03-31 19:34:57 +02:00
parent 33335b1471
commit 1c24575fd0
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 8 additions and 0 deletions

View file

@ -33,3 +33,10 @@ 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
N8N_EMAIL_MODE=smtp
N8N_SMTP_HOST=localhost
N8N_SMTP_PORT=25
N8N_SMTP_USER=__ADMIN__
N8N_SMTP_PASS=
N8N_SMTP_SENDER=__EMAIL__

View file

@ -29,6 +29,7 @@ is_public=$YNH_APP_ARG_IS_PUBLIC
password=$YNH_APP_ARG_PASSWORD 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)
app=$YNH_APP_INSTANCE_NAME app=$YNH_APP_INSTANCE_NAME