coolify
coolify copied to clipboard
How to configure apps?
I've just yesterday installed coolify for the first time, and so far it is absolutely amazing. Not having create nginx reverse proxies and just import from github is amazing, and something i've been looking for for some time now. I just have one problem. I would like to setup my own Ghost blog, which at first worked just as easy as enabling the serivce. But there is a problem in the config somewhere, that makes it so that users aren't able to subscribe to the newsletter. I have setup mailgun. I saw a post on the official ghost forum, that i just had to disable secure_connection in the config file, but i have absolutely no idea where Coolify saves the config for ghost. If someone could help, it would be greatly appriciated.
// Best regards, Sebastian Skov.
+1 - I'm also interested in this. Seems like the major use-case for Ghost is the newsletter functionality, and I haven't yet seen an example of someone getting the full Ghost newsletter experience hosting on Coolify.
):
@DDDASHXD We've managed to find a solution for it, you can how onto discord - I can help there, but in short :
In general there are two mailer credentials for ghost cms:
- you set in the app for the newsletter itself
- you set in smtp setting for singular target emails, exactly like you asked smtp settings You need to set extra parameters as secrets for the ghost container in the secrets section in top right I believe
Take a look at the docs for the container coolify is running -> https://github.com/bitnami/bitnami-docker-ghost/blob/master/README.md#smtp-configuration-using-a-gmail-account
You have likely set the config in the app - that is for newsletter only, so for bulk emails. The singular target emails use nodemailer, and use smtp settings.
extra note - if you really need to edit something that is not supported by the docker envs. If you choose to do the below you have to watch out for anything that will rebuild your image as it will remove the edits. It would be much safer to mount a file from outside the docker container through persistent storage option of coolify.
You have to follow this guide -> https://docs.bitnami.com/aws/apps/ghost/configuration/configure-smtp/
But a short command list would be the following
docker ps | grep ghost
to get the container id
docker exec -u root -t -i CONTAIER_ID_GOES_HERE bash
to get to bash in said docker
then you
apt-get update
into
apt-get install nano
followed by editing the config
nano config.production.json
(may be a different filename ,but should be that)
I've edited my config like so initially just to get it going and before @andrasbacsai pointed me into the proper direction.
I hope that helps!
I'm closing this issue, because tracking features will be moved to GitHub discussions. Github issues will be only for bugs.
Version 4 is in full focus. v3 related issues will be closed, if it is not a critical bug.
Thanks for your understanding.