# Use shopware PWA with shopware docker container

**URL:** https://forum.shopware.com/t/use-shopware-pwa-with-shopware-docker-container/71524
**Category:** Installation / Getting Started (EN)
**Created:** [12. Dezember 2020 um 18:26 UTC](https://forum.shopware.com/t/use-shopware-pwa-with-shopware-docker-container/71524 "2020-12-12T18:26:36Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Andregra](https://avatars.discourse-cdn.com/v4/letter/a/e47774/32.png) [@Andregra](https://forum.shopware.com/u/Andregra)
#### Post date: [12. Dezember 2020 um 18:26 UTC](https://forum.shopware.com/t/use-shopware-pwa-with-shopware-docker-container/71524/1 "2020-12-12T18:26:36Z")

</div>

Hi everybody,

I’m new in the forum&nbsp;and I’m new&nbsp;in shopware. I find shopware&nbsp;has a great documentation and&nbsp;greats dev solutions, and this is the reason I&nbsp;choosed it to start experiments with PWA and e-commerce.

I have used a dockware/play image to launch an istance of shopware locally (it works and I also installed the pwa plugin) and&nbsp;I would connect it with shopware PWA frontend.&nbsp; Unfortuntely I have some troubles with the _shopware-config.js_ (below my version):

```
module.exports = {
  shopwareEndpoint: "angry_gates:80",
  shopwareAccessToken: "xxxxxxxxxxxxxxxxxxx",
};

```

I’ve tried to use the docker container name „angry\_gates (with :80 and without)“ for the shopwareEndpoint value, but it dosn’t work…I&nbsp;tried the same using „localhost“ , with the same result.

Can someone help me, please?&nbsp;

Thank you

---

<div class="post-metadata">

### Author: ![jissereitsma](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/jissereitsma/32/22288_2.png) [@jissereitsma](https://forum.shopware.com/u/jissereitsma)
#### Post date: [5. Februar 2021 um 08:38 UTC](https://forum.shopware.com/t/use-shopware-pwa-with-shopware-docker-container/71524/2 "2021-02-05T08:38:15Z")

</div>

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](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?
