From 472430e56b32fb836ee7e2da452158a9b42f9802 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Thu, 2 Mar 2023 21:00:03 +0100 Subject: [PATCH] fixes --- conf/.env.production | 4 ++-- conf/fittrackee.service | 1 + conf/fittrackee_workers.service | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/conf/.env.production b/conf/.env.production index e097485..2a997a9 100644 --- a/conf/.env.production +++ b/conf/.env.production @@ -24,8 +24,8 @@ REDIS_URL=redis:// # Emails UI_URL=__DOMAIN__ -EMAIL_URL=__ADMIN_MAIL__ -SENDER_EMAIL=__ADMIN_MAIL__ +EMAIL_URL=smtp://smtp.__DOMAIN__ +SENDER_EMAIL=__ADMIN_MAIL__@__DOMAIN__ # WORKERS_PROCESSES= # Workouts diff --git a/conf/fittrackee.service b/conf/fittrackee.service index c0233d0..e6180c0 100644 --- a/conf/fittrackee.service +++ b/conf/fittrackee.service @@ -15,6 +15,7 @@ Group=__APP__ StandardOutput=journal StandardError=journal SyslogIdentifier=__APP__ +EnvironmentFile=__INSTALL_DIR__/.env Environment="APP_SECRET_KEY=" Environment="APP_LOG=" Environment="UPLOAD_FOLDER=" diff --git a/conf/fittrackee_workers.service b/conf/fittrackee_workers.service index 1360778..76f81d2 100644 --- a/conf/fittrackee_workers.service +++ b/conf/fittrackee_workers.service @@ -15,6 +15,7 @@ Group=__APP__ StandardOutput=journal StandardError=journal SyslogIdentifier=__APP___workers +EnvironmentFile=__INSTALL_DIR__/.env Environment="FLASK_APP=fittrackee" Environment="APP_SECRET_KEY=" Environment="APP_LOG="