shyim / shopware-docker

Easy to use Docker Installation for Shopware 5 and Shopware 6
MIT License
115 stars 27 forks source link

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

Open Bhoft opened 1 year ago

Bhoft commented 1 year ago

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?