-
Notifications
You must be signed in to change notification settings - Fork 314
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
Add sendmail service #9
Comments
The discussion in docker-library/wordpress#30 is important here too, since email is still a huge general problem that isn't solved in a good general way for Docker users yet. |
I guess this depends on the library Ghost uses to send emails, nodemailer. In fact, they have a common place where all common email services have their configuration: https://github.com/andris9/nodemailer-wellknown/blob/master/services.json I don't see there sendmail, though. |
I use Mailgun. Just pass the env-var when launching your container :) Also, supporting SendMail as nothing to do with this docker image.
IMHO, we should close this issue. |
Could what @pascalandy mentioned be worked into the official image so that you could configure mail through environment variables? |
in >=1.0 it's no longer needed. See https://docs.ghost.org/docs/config#section-running-ghost-with-config-env-variables For >1.0 I don't think there will be a change in the current handling |
Cool, Thanks! |
@SISheogorath How can mail be configured via environment var? I am hoping to use Mailgun and I am having trouble finding anything helpful in the docs for Ghost or this Docker image. Any help you can offer up would be greatly appreciated! |
@rucuriousyet combining https://docs.ghost.org/docs/config#section-running-ghost-with-config-env-variables with https://docs.ghost.org/docs/mail-config#section-mailgun: $ docker run ... \
-e mail__transport=SMTP \
-e mail__options__service=Mailgun \
-e [email protected] \
-e mail__options__auth_pass=1234567890 \
... |
I would like to know why you don't integrate sendmail service to docker ghost container. It will help you to minimize the config modification.
You can integrate this in your config.
The text was updated successfully, but these errors were encountered: