Skip to content
This repository was archived by the owner on Feb 28, 2026. It is now read-only.
This repository was archived by the owner on Feb 28, 2026. It is now read-only.

unexpected character "-" when i tried to switch to apache #181

@Bhoft

Description

@Bhoft

Describe the bug
I have cloned the sw5 source into the directory sw5-latest.

Now i wanted to swtich to Apache as the Webserver instead of nginx.

So i added the following to the env file

VHOST_SW5-LATEST_IMAGE=ghcr.io/shyim/shopware-docker/5/apache:php74

And now get an error when call swdc up

unexpected character "-" in variable name near "VHOST_SW5-LATEST_IMAGE=ghcr.io/shyim/shopware-docker/5/apache:php74\n"

If the directoy is only named like SW5 or something the command works.

Any ideas how i can fix this?
Or perhaps set the used Webserver manually?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions