Ask HN: How to handle content of a flat-file CMS in Docker images?
I currently work on a project that runs with Kirby, a flat file CMS. Means: all content is saved in files inside the project structure. The project should be built as a Docker image and deployed to the server afterwards.
I would like to know how a good solution could look like that handles the changing content files inside the Docker containers?
Current evaluated solutions:
- save them in shared folders outside of the Docker containers, via volumes.
- handle them via Git and store them in a submodule, changes are commited with the Autogit Kirby plugin.
What are your thoughts? :)