Repository navigation
docs: Compose name is shop-id-env; VPS SoT is name: with --env-file - #30
Merged
Merged
Conversation
Align overlay operator docs with locked env init: it writes COMPOSE_PROJECT_NAME=shopware-<shop-id> (no env suffix) so local project dev and VPS compose share a stable name. Drop the obsolete always-comment-out / strip wording. Co-authored-by: ROBJkE <ROBJkE@users.noreply.github.com>
COMPOSE_PROJECT_NAME from env init is for shopware-cli project dev only. VPS Compose project remains shop-id + deploy env; fyrst-cli pins VPS compose so .env COMPOSE_PROJECT_NAME does not override name:. Co-authored-by: ROBJkE <ROBJkE@users.noreply.github.com>
….local Shared committed .env holds shared keys only (no COMPOSE_PROJECT_NAME, no real SHOPWARE_DEPLOY_ENV). env init strips create's sw-shop-… line and writes SHOPWARE_DEPLOY_ENV to host .env.local. VPS stack name remains <shop-id>-<env> via deploy compose name: / fyrst-cli -p from loaded identity. Co-authored-by: ROBJkE <ROBJkE@users.noreply.github.com>
Host .env.local holds SHOPWARE_DEPLOY_ENV and COMPOSE_PROJECT_NAME=<shop-id>-<env> (e.g. acme-dev / acme-live). env init still strips create's sw-shop-… from shared .env and sets gitignored compose.override.yaml name: for project dev. Co-authored-by: ROBJkE <ROBJkE@users.noreply.github.com>
VPS naming SoT is deploy/compose.yaml name: with stacked --env-file .env then .env.local then .env.prod. fyrst-cli -p only pins that same name. Raw Compose must pass the same flags. Shared .env still omits COMPOSE_PROJECT_NAME and a real SHOPWARE_DEPLOY_ENV. Co-authored-by: ROBJkE <ROBJkE@users.noreply.github.com>
VPS naming SoT is only deploy/compose.yaml name: with stacked --env-file .env then .env.local then .env.prod. fyrst-cli does not pass -p; raw Compose examples do not use -p. Co-authored-by: ROBJkE <ROBJkE@users.noreply.github.com>
ROBJkE
marked this pull request as ready for review
September 17, 2026 09:39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rewrite overlay operator docs for the locked Compose name + file layout:
${SHOPWARE_SHOP_ID}-${SHOPWARE_DEPLOY_ENV}(e.g.acme-dev/acme-live). Not folder basename, notshopware-<shop-id>..envholds shared keys only: noCOMPOSE_PROJECT_NAME, no realSHOPWARE_DEPLOY_ENV..env.localholdsSHOPWARE_DEPLOY_ENVandCOMPOSE_PROJECT_NAME=<shop-id>-<env>.fyrst-cli shopware env initstrips create’sCOMPOSE_PROJECT_NAME=sw-shop-…from shared.env, writes those host keys, and sets gitignoredcompose.override.yamlname:forshopware-cli project dev.deploy/compose.yamlname: ${SHOPWARE_SHOP_ID}-${SHOPWARE_DEPLOY_ENV}with host--env-files (.env, then.env.local, then.env.prodif present). fyrst-cli does not pass a project-name flag. Raw Compose must use those same--env-fileflags (omit a flag if that host file is missing) and must not set a project-name flag.SHOPWARE_DEPLOY_ENV=live, empty/omit it in shared.env.What changed
README.md/CREATE.md: unified name; host.env.local+compose.override.yaml; stacked--env-file; VPS SoT is composename:only. Identity flag blocks stay lists where edited.overlay/.env.example,overlay/deploy/README.md,sync-runtime.md,compose.yaml/compose.prod.yaml/compose.vps.yamlcomments: same contract.tests/package.test.php: assert<shop-id>-<env>,.env.local,compose.override.yaml, stacked--env-file; rejectshopware-<shop-id>, folder basename, and Compose project-name flag wording.Out of this PR
deploy/*.shwrappers and no Flexcopy-from-packageownership change (compose.override.yamlis not inoverlay/).