agam
April 13, 2022, 12:57pm
#1
Hi, I am using Ghost in docker via render.com .
I was wondering if there is a way for ghost not to use the disk, so I could scale the system. I am using an adapter that saves data to github. Is there a way to tell ghost to save everything into the database/external storage or the github adapter? So I will not need to use the file system?
Thanks
As far as I can tell, ghost is not build for scaling therefore having multiple instances of it is almost not possible.
I gave up after some research
agam
April 13, 2022, 3:52pm
#3
I’m trying to use a custom storage adapter and removing all references to fs paths, I’ll update here if it works.
What about the database? Will that still be one? Because that way you still have a single point of failure.
Also consider updates on the ghost side. Who is doing the update? You need to allow only 1 container for doing the updates.
agam
April 13, 2022, 4:09pm
#5
ajfriesen:
hat about the database? Will that still be one? Because that way you still have a single point of failure.
Also consider updates on the ghost side. Who is doing the update? You need to allow only 1 container for doing the updates.
Database will be MySQL (Deploy MySQL Database | Render ), the updates will be via docker (Deploy Ghost.js | Render · Cloud Hosting for Developers ).
agam
April 13, 2022, 4:25pm
#6
Yeah it isn’t working. The adapters themselves need the file system and it seems like other parts of ghost too.
behoyh
April 14, 2022, 11:16am
#7
I host two ghost sites with docker, try my docker container