Created
January 5, 2021 19:14
-
-
Save mcardozo/7ff4505fcf4fa44edba5e1b49aab94fb to your computer and use it in GitHub Desktop.
Envío de emails con django, mailhog y celery
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.8' | |
services: | |
mailhog: | |
image: mailhog/mailhog:v1.0.0 | |
container_name: mailhog | |
expose: | |
- 1025 | |
- 8025 | |
ports: | |
- '1025:1025' | |
- '8025:8025' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend" | |
EMAIL_USE_TLS = False | |
EMAIL_HOST = '0.0.0.0' | |
EMAIL_PORT = 1025 | |
CELERY_BROKER_URL = 'redis://localhost:6379/' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment