From 39a7560c92215e342b3cdc7f1626b8657d77b41b Mon Sep 17 00:00:00 2001 From: Vincent Neubauer Date: Wed, 17 Dec 2025 16:16:59 +0100 Subject: [PATCH 1/4] fix(hosting): compose example: drop build image name Fixes the following error message on `docker compose up`: > Error response from daemon: pull access denied for local, > repository does not exist or may require 'docker login': denied: > requested access to the resource is denied --- guides/hosting/installation-updates/docker.md | 1 - 1 file changed, 1 deletion(-) diff --git a/guides/hosting/installation-updates/docker.md b/guides/hosting/installation-updates/docker.md index 1e5cff004..92c53077b 100644 --- a/guides/hosting/installation-updates/docker.md +++ b/guides/hosting/installation-updates/docker.md @@ -169,7 +169,6 @@ This is just an example compose file to demonstrate what the services could look ```yaml x-environment: &shopware - image: local build: context: . environment: From 372e172ef9cf56838e8fb1adc62130dbceaf74fa Mon Sep 17 00:00:00 2001 From: Vincent Neubauer Date: Wed, 17 Dec 2025 17:03:53 +0100 Subject: [PATCH 2/4] fix(hosting): compose example: depends_on database label --- guides/hosting/installation-updates/docker.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/hosting/installation-updates/docker.md b/guides/hosting/installation-updates/docker.md index 92c53077b..cdf902675 100644 --- a/guides/hosting/installation-updates/docker.md +++ b/guides/hosting/installation-updates/docker.md @@ -189,7 +189,7 @@ services: <<: *shopware entrypoint: /setup depends_on: - db: + database: condition: service_started init-perm: condition: service_completed_successfully From df1757cc827567383f87fbaec5a40b4018b9973f Mon Sep 17 00:00:00 2001 From: Vincent Neubauer Date: Wed, 17 Dec 2025 16:25:33 +0100 Subject: [PATCH 3/4] fix(hosting): compose example: add missing volume definitions --- guides/hosting/installation-updates/docker.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/guides/hosting/installation-updates/docker.md b/guides/hosting/installation-updates/docker.md index cdf902675..7a2150264 100644 --- a/guides/hosting/installation-updates/docker.md +++ b/guides/hosting/installation-updates/docker.md @@ -216,6 +216,13 @@ services: init: condition: service_completed_successfully entrypoint: [ "php", "bin/console", "scheduled-task:run" ] + +volumes: + files: + theme: + media: + thumbnail: + sitemap: ``` From a658af242458727aac9c51d06f34ddc060bb8b59 Mon Sep 17 00:00:00 2001 From: Vincent Neubauer Date: Wed, 17 Dec 2025 16:55:51 +0100 Subject: [PATCH 4/4] fix(hosting): compose example: add missing service 'init-perm' --- guides/hosting/installation-updates/docker.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/guides/hosting/installation-updates/docker.md b/guides/hosting/installation-updates/docker.md index 7a2150264..6319ffd41 100644 --- a/guides/hosting/installation-updates/docker.md +++ b/guides/hosting/installation-updates/docker.md @@ -185,6 +185,17 @@ services: database: image: mariadb:11.4 + init-perm: + <<: *shopware + user: "root" + entrypoint: > + chown 82:82 + /var/www/html/files + /var/www/html/public/theme + /var/www/html/public/media + /var/www/html/public/thumbnail + /var/www/html/public/sitemap + init: <<: *shopware entrypoint: /setup