(fix) remove redundant variables

This commit is contained in:
Yamila Moreno 2021-01-19 20:16:44 +01:00
parent 0dd2df0908
commit 43e9be037f
2 changed files with 7 additions and 15 deletions

View File

@ -66,21 +66,13 @@ You can opt out by setting this variable to "False". By default is "True".
By default, email is configured with the *console* backend, which means that the emails will be shown in the stdout.
##### `ENABLE_EMAIL`
##### Enable SMTP email
If you have an smtp service, configure this variable to "True". By default is "False".
If you have an smtp service, uncomment the "Email settings" section in `docker-compose.yml` and configure those environment variables:
##### `DEFAULT_FROM_EMAIL`, `EMAIL_HOST`, `EMAIL_PORT`, `EMAIL_HOST_USER`, `EMAIL_HOST_PASSWORD`
`DEFAULT_FROM_EMAIL`, `EMAIL_HOST`, `EMAIL_PORT`, `EMAIL_HOST_USER`, `EMAIL_HOST_PASSWORD`, `EMAIL_USE_TLS`, `EMAIL_USE_SSL`.
If you have an smtp service configure this variables too.
##### `EMAIL_USE_TLS`
If you use TLS, configure this variable to "True". By default is "False".
##### `EMAIL_USE_SSL`
If you use SSL, configure this variable to "True". By default is "False".
Uncomment `EMAIL_BACKEND` variable, but do not modify unless you know what you're doing.
#### Rabbit settings

View File

@ -11,9 +11,9 @@ x-environment:
TAIGA_SECRET_KEY: "taiga-back-secret-key"
TAIGA_SITES_DOMAIN: "localhost:9000"
TAIGA_SITES_SCHEME: "http"
# Email settings
ENABLE_EMAIL: "False" # False -> console; True -> smtp
DEFAULT_FROM_EMAIL: "no-reply@example.com"
# Email settings. Uncomment following lines and configure your SMTP server
# EMAIL_BACKEND: "django.core.mail.backends.smtp.EmailBackend"
# DEFAULT_FROM_EMAIL: "no-reply@example.com"
# EMAIL_USE_TLS: "False"
# EMAIL_USE_SSL: "False"
# EMAIL_HOST: "smtp.host.example.com"