fix(rails): smtp config should be optional

This commit is contained in:
Paul Chavard 2023-03-30 10:59:08 +02:00
parent 9e7e452c02
commit b7a1d61c9b
2 changed files with 8 additions and 9 deletions

View file

@ -82,15 +82,6 @@ MATOMO_HOST="matomo.example.org"
MAILJET_API_KEY=""
MAILJET_SECRET_KEY=""
# Classic SMTP
CLASSIC_SMTP_ENABLED="disabled"
SMTP_HOST=""
SMTP_PORT=""
SMTP_USER=""
SMTP_PASS=""
SMTP_TLS=""
SMTP_AUTHENTICATION="plain"
# Alternate SMTP Provider: SendInBlue/DoList
SENDINBLUE_CLIENT_KEY=""
SENDINBLUE_SMTP_KEY=""

View file

@ -175,3 +175,11 @@ SERVICES_PUBLICS_PLUS_URL=""
ELASTIC_APM_ENABLED="" # disabled by default, set to "true" to enable
ELASTIC_APM_SERVER_URL="http://192.168.0.1:8200" # elasticsearch APM endpoint URL
# Classic SMTP
CLASSIC_SMTP_ENABLED="disabled"
SMTP_HOST=""
SMTP_PORT=""
SMTP_USER=""
SMTP_PASS=""
SMTP_TLS=""
SMTP_AUTHENTICATION="plain"