Hi,
gibt es ein fertiges docker compose.yml um Shopware 6 in production neu aufzusetzen?
CI/CD wird nicht benötigt.
Du kannst das als Referenz nehmen und schauen…
Das setzt aber glaube ich voraus das man mit composer lokal einen Shop mit composer create-project shopware/production . erstellt, oder man hat die Shop Dateien schon. Richtig?
Wie aber die Dateien erstellen, ohne extra Composer Lokal einzurichten?
Shopware provides a Docker image to run Shopware 6 in a containerized environment for production intent. The Docker image is based on the official PHP image and includes the required PHP extensions and configurations to run Shopware 6. But it does not contain Shopware itself. It’s intended to be used together with your existing Shopware project, copy the project into the image, build it, and run it.
If you don’t have a Shopware project yet, you can create a new one with …
composer create-project shopware/production:6.6.7.0 <folder>
Genau und das benötigt Composer auf dem Laptop.
Es soll auch nicht für Multi Instancen oder ähnliches sein. Einfach docker compose up und loslegen.