mmornati / docker-ghostblog

Ghost Blog Docker Container
MIT License
10 stars 6 forks source link

Allow to override Mail object #26

Closed sr229 closed 6 years ago

sr229 commented 6 years ago

this would allow the Mail object to be configured in the container to use any mailing service

sr229 commented 6 years ago

It seems that ghost also allows config by config vars, so you should investigate a little about that

mmornati commented 6 years ago

There is a mount point to do what you want with the configuration (config.override.json). You can then create your personal config.json file with the mail server you prefer and add it as volume to your Docker container. It will be used a configuration file.

We did in this way cause it was impossible to allow any possible configuration into the docker image via variables or anything else. But you can do what you want in a simple way.