Generalized logs and mailer (#312)

This commit is contained in:
Jesus Federico
2018-10-26 11:59:49 -04:00
committed by GitHub
parent b8785a3bf8
commit 3b67ffee40
5 changed files with 33 additions and 23 deletions

View File

@ -73,9 +73,11 @@ ALLOW_GREENLIGHT_ACCOUNTS=true
# Set this to true if you want GreenLight to send verification emails upon
# the creation of a new account
#
# SMTP variables can be configured by following the template:
#
# ALLOW_MAIL_NOTIFICATIONS=true
#
# The notifications are sent using sendmail, unless the SMTP_SERVER variable is set.
# In that case, make sure the rest of the variables are properly set.
#
# SMTP_SERVER=smtp.gmail.com
# SMTP_PORT=587
# SMTP_DOMAIN=gmail.com
@ -84,7 +86,6 @@ ALLOW_GREENLIGHT_ACCOUNTS=true
# SMTP_AUTH=plain
# SMTP_STARTTLS_AUTO=true
#
ALLOW_MAIL_NOTIFICATIONS=
SMTP_SERVER=
SMTP_PORT=
SMTP_DOMAIN=
@ -110,17 +111,24 @@ BRANDING_IMAGE=
#
# RAILS_LOG_TO_STDOUT=true
#
# When using docker-compose the logs can be sent to an external service like PaperTrail
# When using docker-compose the logs can be sent to an centralized repository like PaperTrail
# just by using the built in driver. Make sure to add to docker-compose.yml the next lines:
#
# logging:
# driver: syslog
# driver: $LOG_DRIVER
# options:
# syslog-address: "tcp+tls://logs4.papertrailapp.com:[99999]"
# tag: greenlight.mydomain.com:v2
# syslog-address: $LOG_ADDRESS
# tag: $LOG_TAG
#
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
# It is disabled by default.
# And set this variables up:
#
# LOG_DRIVER=syslog
# LOG_ADDRESS=udp://logs4.papertrailapp.com:[99999]
# LOG_TAG=greenlight.example.com:v2
#
# Check docker-compose and papertrail documentation for encrypting and
# protecting access to the log repository.
# https://docs.docker.com/config/containers/logging/syslog/#options
# https://help.papertrailapp.com/kb/configuration/encrypting-remote-syslog-with-tls-ssl/
#
# ENABLE_SSL=true