Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

e-mail Configuration #21

Closed
hanu18 opened this issue Oct 20, 2015 · 4 comments
Closed

e-mail Configuration #21

hanu18 opened this issue Oct 20, 2015 · 4 comments

Comments

@hanu18
Copy link

hanu18 commented Oct 20, 2015

Hi
please anyone help me to configure email with this image.
When i m trying to add new user, it is not sending any request to newly created user.

@tubia
Copy link

tubia commented Oct 28, 2015

This thing is still a problem that in fact prevents to use this image productively.

@hanu18
Copy link
Author

hanu18 commented Oct 28, 2015

Then please suggest any alternate way to do the same.....
or any better working image with steps....
Thanks :)

@cgonzalezg
Copy link

first you can change the configuration in the file backend/docker-settings.py

# this will configure the confirmation links
SITES = {
    "api": {"domain": "your-api-url", "scheme": "http", "name": "api"},
    "front": {"domain": "your-front-url", "scheme": "http", "name": "front"},
}




# MAIL OPTIONS
DEFAULT_FROM_EMAIL = "john@doe.com"
#By default is using the console
EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend"

EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_PORT = 587
EMAIL_HOST_USER = 'user@gmail.com'
EMAIL_HOST_PASSWORD = 'supersecret'

DJMAIL_REAL_BACKEND = "django.core.mail.backends.console.EmailBackend"

after that you only need to add the file to the container

docker run -d --name taiga-back  -v "$(pwd)"/backend/docker-settings.py:/taiga/settings/local.py:ro -p 8000:8000 --link postgres:postgres ipedrazas/taiga-back

@ipedrazas
Copy link
Owner

closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants