How to set mailgun to Ghost(docker) + Sqlite

brucewindHOBBY

2 years ago

I had used Ghost with mysql, but currently I try to use a new Ghost template with Sqlite. I did not found some sufficient doc for this template to set up it with mailgun and CLOUDINARY.

0 Replies

brucewindHOBBY

2 years ago

1d061aaf-a6f1-415a-b95a-978a044e31d5


brucewindHOBBY

2 years ago

I did some steps like Ghost with Mysql. When I tried to send email, I got Error :

[2023-09-07 02:00:22] ERROR "POST /members/api/send-magic-link/" 500 440ms


Failed to send email. Reason: Sending failed.

"Please see https://ghost.org/docs/config/#mail for instructions on configuring email."

Error ID:

4dbcf500-4d22-11ee-b97c-2d076c584b89

----------------------------------------

Error: Sending failed

at createMailError 

brucewindHOBBY

2 years ago


2 years ago

what email provider are you trying to use


brucewindHOBBY

2 years ago

thans for your reply. I solved this problem.


brucewindHOBBY

2 years ago


2 years ago

glad you where able to solve it!


brucewindHOBBY

2 years ago

Btw, I need to mention something for new users who will come to this template:
smtp.eu.mailgun.org is for EU, , however, smtp.us.mailgun.org is not for the US. smtp.mailgun.org is for the US.


2 years ago

thats very good information, thanks!


pearcyHOBBY

8 months ago

@BruceX I am running into the same error when I use the Railway instance (Ghost CMS/MySQL).
In the link above for the "How to Setup Ghost CMS & Mailgun (self-hosted) there is a step:
Here is my updated docker-compose.yml file:
Did you package your own Docker image locally, add this file and then deploy to Railway?
Asking because I added these to the Railway variables like this:

MAIL_TRANSPORT="SMTP"
MAIL_HOST="smtp.mailgun.org"
MAIL_PORT="587"
MAIL_SECURE="false"
MAIL_USER="postmaster@email.example.tv"
MAIL_PASS="827ffe0ab153cbba92c64e79f0e331bb-777a617d-e2bbaad8"
mail__from="noreply@example.tv"

pearcyHOBBY

8 months ago

If there a way to use the Railway Docker Ghost CMS image and change this file:
docker-compose.yml
or did you package the Ghost CMS Docker image, change it locally and then deploy to Railway?
Appreciate any suggestions.


pearcyHOBBY

8 months ago

And if I do need to save a Ghost CMS docker file locally is there one you recommend for Railway?
-- new to deploying