From 3828a8deaefd3e51624d4a46c99a9a2c27fcc3fb Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Thu, 19 Nov 2020 11:00:24 +0200 Subject: [PATCH] Fixed Doctor SMTP check --- app/tasks/doctor.php | 1 + app/views/install/compose.phtml | 5 +++++ docker-compose.yml | 5 +++++ 3 files changed, 11 insertions(+) diff --git a/app/tasks/doctor.php b/app/tasks/doctor.php index fc949d45c7..70a7546b2a 100644 --- a/app/tasks/doctor.php +++ b/app/tasks/doctor.php @@ -138,6 +138,7 @@ $cli Console::success('SMTP................connected 👍'); } catch (\Throwable $th) { Console::error('SMTP.............disconnected 👎'); + var_dump($th); } $host = App::getEnv('_APP_STATSD_HOST', 'telegraf'); diff --git a/app/views/install/compose.phtml b/app/views/install/compose.phtml index 6ec157ce7e..a97cd7882f 100644 --- a/app/views/install/compose.phtml +++ b/app/views/install/compose.phtml @@ -67,6 +67,11 @@ services: - _APP_DB_SCHEMA - _APP_DB_USER - _APP_DB_PASS + - _APP_SMTP_HOST + - _APP_SMTP_PORT + - _APP_SMTP_SECURE + - _APP_SMTP_USERNAME + - _APP_SMTP_PASSWORD - _APP_INFLUXDB_HOST - _APP_INFLUXDB_PORT - _APP_STORAGE_LIMIT diff --git a/docker-compose.yml b/docker-compose.yml index 55cd64fdd6..72d791fa98 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -82,6 +82,11 @@ services: - _APP_DB_SCHEMA - _APP_DB_USER - _APP_DB_PASS + - _APP_SMTP_HOST + - _APP_SMTP_PORT + - _APP_SMTP_SECURE + - _APP_SMTP_USERNAME + - _APP_SMTP_PASSWORD - _APP_INFLUXDB_HOST - _APP_INFLUXDB_PORT - _APP_STORAGE_LIMIT