Use shopware PWA with shopware docker container

The post is a bit old but perhaps still relevant for others. I’ve played with this myself. I took the dockware/dev image instead, because it includes composer - so I could install the SwagShopwarePwa using composer. Anyway, this worked nicely.

Once you’re able to connect to the Dockware environment using http://localhost, then actually that’s the exact address you need to fill in with shopwareEndpoint. So in my case, it would read:

module.exports = {
  shopwareEndpoint: "http://localhost",
  shopwareAccessToken: "xxxxxxxxxxxxxxxxxxx",
};

Could it be that you simply tried to enter a hostname, instead of a URL?

1 „Gefällt mir“