mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-12-04 08:48:45 +00:00
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) <noreply@anthropic.com>
This commit is contained in:
1 parent
0326f93a1b
commit
0ba5fc656d
1 file changed
+1
@@ -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' %}
|
||||
|
||||
Reference in new issue
Block a user