From 0ba5fc656d2b6a601b6a854f44bdaa3cd45c3d76 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Thu, 2 Jul 2026 19:29:24 +0200 Subject: [PATCH] fix(web-app-shopware): pin the stack to a single replica Without service_replicas the swarm init one-shot fanned out to node-count (3) replicas that raced installation and migrations on the shared DB and NFS, so shopware_init never converged. Pin service_replicas=1; compose is unaffected. Co-Authored-By: Claude Opus 4.8 (1M context) --- roles/web-app-shopware/templates/compose.yml.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/web-app-shopware/templates/compose.yml.j2 b/roles/web-app-shopware/templates/compose.yml.j2 index 3c1e6826a9..755de388e7 100644 --- a/roles/web-app-shopware/templates/compose.yml.j2 +++ b/roles/web-app-shopware/templates/compose.yml.j2 @@ -3,6 +3,7 @@ x-environment: &shopware working_dir: {{ SHOPWARE_ROOT }} {{ lookup('compose_only', 'pull_policy', 'never') }} {% include 'roles/sys-svc-compose/templates/base.yml.j2' %} +{% set service_replicas = 1 %} {% set service_name = 'init' %} {% set docker_restart_policy = 'no' %}