1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/invoiceninja_ynh.git synced 2024-09-03 19:26:22 +02:00

add mail configuration

This commit is contained in:
Sebastian Gumprich 2020-05-03 12:04:38 +02:00
parent 9e14b34904
commit ae2c825578
2 changed files with 14 additions and 6 deletions

View file

@ -203,6 +203,8 @@ ynh_replace_string --match_string="__API_SECRET__" --replace_string="$(ynh_strin
ynh_replace_string --match_string="__APP_KEY__" --replace_string="$(ynh_string_random --length=32)" --target_file="$final_path/.env"
ynh_replace_string --match_string="__PHANTOMJS_KEY__" --replace_string="$(ynh_string_random --length=32)" --target_file="$final_path/.env"
ynh_replace_string --match_string="__MAIL_FROM_ADDRESS__" --replace_string="$(ynh_user_get_info $admin mail)" --target_file="$final_path/.env"
ynh_replace_string --match_string="__MAIL_FROM_NAME__" --replace_string="$(ynh_user_get_info $admin firstname) $(ynh_user_get_info $admin lastname)" --target_file="$final_path/.env"
#=================================================
# GENERIC FINALIZATION

View file

@ -9,21 +9,27 @@ APP_CIPHER=AES-256-CBC
API_SECRET=__API_SECRET__
REQUIRE_HTTPS=true
DB_TYPE=mysql
DB_HOST=localhost
DB_DATABASE=__DB_NAME__
DB_USERNAME=__DB_USER__
DB_PASSWORD=__DB_PASS__
MAIL_DRIVER=smtp
MAIL_PORT=587
MAIL_ENCRYPTION=tls
MAIL_HOST=
MAIL_DRIVER=mail
MAIL_PORT=25
MAIL_ENCRYPTION=
MAIL_HOST=localhost
MAIL_USERNAME=
MAIL_FROM_NAME=Invoiceninja
MAIL_FROM_ADDRESS=invoiceninja@gumpri.ch
MAIL_FROM_NAME="__MAIL_FROM_NAME__"
MAIL_FROM_ADDRESS=__MAIL_FROM_ADDRESS__
MAIL_PASSWORD=
PHANTOMJS_CLOUD_KEY=a-demo-key-with-low-quota-per-ip-address
PHANTOMJS_SECRET=__PHANTOMJS_KEY__
MAILGUN_DOMAIN=
MAILGUN_SECRET=
# do not run the setup wizard
PRECONFIGURED_INSTALL=true