Docker Compose template für Production

Hi,
ich möchte für Coolify ein Template Repository erstellen um Shopware 6 zu deployen (Production).

Mein erster Entwurf, den ich Lokal getestet habe findet man hier.

Als Ausgangspunkt habe ich diesen Artikel von Andreas Lang genommen.

Bitte schreibt mal euere konstruktive Meinung dazu. Über PR und Verbesserungsvorschläge würde ich mich freuen.

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.