Hello, I have a problem with Ghost posts, every time I upload a post, it disappears after a while and only the first post I wrote remains. Ghost works on a friend’s web hosting and I did it via a Docker image. Is there a bug in the Docker image or in the hosting itself? Thanks for the answer.
That sounds like you’re missing a volume definition in your docker setup for your database. How exactly do you have things set up? Docker Compose? Paste your file then, please
what volume should i have?
If you’re running your MySQL database in your Docker setup as well, you’ll need a volume for it. Otherwise, data is not persisted.
As an alternative, you can also use bind mounts: