Ghost won't send registration e-mails via Mailgun

Config file looks good. I don’t recognise the paths though (but, to be fair, I’m not familiar with the Docker setup!). An easy way to check it’s the right config file might be to corrupt it (just add some arbitrary text in the middle that isn’t JSON formatted) and restart Ghost - it should say “A SystemError occurred.” and refuse to start.

The only thing that makes me suspicious is that the config file should be in the directory above content. For example:

$ ls -l
config.production.json
content
current -> /var/www/empirical-ghost/versions/4.16.0
system
versions

I seem to recall seeing that Docker doesn’t use a config file - everything is configured using environment variables instead.

See: Docker -> Ghost - Cant find the config file

Also, this person knows how to do it: Mailgun SSLv3 error in Docker after updating SSL certificate - #2 by twelvetables

1 Like