Had anyone deployed docker image of the official ghost using Dokploy yet?
I was having issues with CloudPanel and Ghost CLI so I have scrapped my entire VPS to install Dokploy and pursue it this way (ability to run backups easily).
I don’t see any guides on this and the standard template is the older version and I can’t seem to get it to work.
First time user with Docker and would love all the help! I need something for a local car club to send email notifications for new car meets. So it’s not a large site.
Given that the Social Web and Traffic Analytics features will need proxying set up properly, I do not see an easy “click-this-and-deploy” path using Dokploy or other similar tools for Ghost 6.
Dokploy – afaik – uses a Traefik reverse proxy on a cluster level. You could add some rules in there that properly forward the necessary requests.
There is plenty of discussion on the proxying setup, so you could have a look at that.
The rules you’d need to set up are the ones in these snippets (for Caddy):
Quite honestly, the easiest setup would be the Docker Compose in the ghost-docker repository. Just install Docker on your VPS, and run that. Additionally, you may want to harden your VPS with common security practice (disable password for SSH, disable root login on SSH, set up a firewall, etc.), but other than that, you’re good to go with the ghost-docker repository. No need to overcomplicate things with Dokploy or something similar.
If you want backups, there are projects like these:
Though, the least complicated thing (without needing to update the compose file from ghost-docker) would be a cronjob that runs a shell script, backing up the MySQL database and content folder. I have instructions for that here. The upload to an offsite location is missing, but common tools like s3cmd can be your friend.
And yes, in retrospect, that doesn’t sound very “simple”. But I stand with my opening statement: I don’t see this work “out of the box” with tools like Dokploy.