This template is what we use at CodeSyntax to generate deployment configuration for our Plone/Volto based deployments
You first need to have a project created using cookieplone. It will work both with the Volto and Classic project types.
uvx cookieplone
Then you need to run the following command to get the files in this template:
cd <your-project-folder>
uvx --with copier-templates-extensions copier copy gh:codesyntax/cs_plone_deployment . --trust
And voilà, you will get a .gitlab-ci.yml
file with the GitLab CI/CD configuration, and a deploy
folder with the docker-compose.yml
and all other required configuration files.
In the deploy
folder you will find a Makefile
that will help you with your deployments.