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 cookieploneThen you need to run the following command in your project folder to get the files in this template:
uvx --with copier-templates-extensions copier copy gh:codesyntax/cs_plone_deployment . --trustAnd 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.