mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-04 19:03:39 +00:00
Fix email sending
This commit is contained in:
parent
3c850eb3d1
commit
7f27ab952b
10
README.md
10
README.md
@ -81,6 +81,16 @@ And then, to stop all services:
|
||||
|
||||
make stop
|
||||
|
||||
### Logging
|
||||
|
||||
To view the logs from all containers:
|
||||
|
||||
docker-compose logs -f
|
||||
|
||||
To view the logs from just one container, for instance the web server:
|
||||
|
||||
docker-compose logs -f
|
||||
|
||||
### Development
|
||||
|
||||
Open a bash in the lms:
|
||||
|
@ -44,7 +44,6 @@ services:
|
||||
- ./data/rabbitmq:/var/lib/rabbitmq
|
||||
|
||||
# Simple SMTP server
|
||||
# TODO this smtp server doesn't send any email. Fix this.
|
||||
smtp:
|
||||
image: namshi/smtp
|
||||
|
||||
|
@ -6,10 +6,6 @@ update_module_store_settings(MODULESTORE, doc_store_settings=DOC_STORE_CONFIG)
|
||||
MEDIA_ROOT = "/openedx/data/uploads/"
|
||||
FEATURES['ENABLE_DISCUSSION_SERVICE'] = False
|
||||
|
||||
# Don't rely on AWS for sending email
|
||||
EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
|
||||
EMAIL_HOST = 'smtp'
|
||||
|
||||
# We need to activate dev_env for logging, otherwise rsyslog is required (but
|
||||
# it is not available in docker).
|
||||
LOGGING = get_logger_config(LOG_DIR,
|
||||
|
@ -6,7 +6,7 @@
|
||||
"OAUTH_OIDC_ISSUER": "http://localhost:8000/oauth2",
|
||||
"PLATFORM_NAME": "${PLATFORM_NAME}",
|
||||
"FEATURES": {
|
||||
"PREVIEW_LMS_BASE": "localhost:8000"
|
||||
"PREVIEW_LMS_BASE": "${LMS_HOST}"
|
||||
},
|
||||
"LMS_ROOT_URL": "http://${LMS_HOST}",
|
||||
"CMS_ROOT_URL": "http://${CMS_HOST}",
|
||||
@ -16,6 +16,7 @@
|
||||
"CELERY_BROKER_TRANSPORT": "amqp",
|
||||
"MEDIA_ROOT": "/openedx/data/uploads/",
|
||||
"STATIC_ROOT_BASE": "/openedx/data/staticfiles",
|
||||
"EMAIL_BACKEND": "django.core.mail.backends.smtp.EmailBackend",
|
||||
"EMAIL_HOST": "smtp",
|
||||
"EMAIL_PORT": 9025,
|
||||
"CACHES": {
|
||||
|
@ -16,6 +16,7 @@
|
||||
"CELERY_BROKER_TRANSPORT": "amqp",
|
||||
"MEDIA_ROOT": "/openedx/data/uploads/",
|
||||
"STATIC_ROOT_BASE": "/openedx/data/staticfiles",
|
||||
"EMAIL_BACKEND": "django.core.mail.backends.smtp.EmailBackend",
|
||||
"EMAIL_HOST": "smtp",
|
||||
"EMAIL_PORT": 9025,
|
||||
"CACHES": {
|
||||
|
Loading…
Reference in New Issue
Block a user