Configure custom SMTP host in docker

Hey there, I have ghost currently running in Docker and I would like to configre it to use a custom SMTP host. I believe you can do this in the config file, however I’m wondering if you can do it through environment variables, and if so, how?

Yep, take a look at Configuration - Adapt your publication to suit your needs!

Do note that the variables have to be lowercase :slight_smile:

2 Likes

Ah thanks! Is there anyway to use this with newsletters?

No. That’s covered in the FAQ Why do I have to set up Mailgun?