magento / pwa-studio

🛠Development tools to build, optimize and deploy Progressive Web Applications for Magento 2.
https://developer.adobe.com/commerce/pwa-studio/
Open Software License 3.0
1.07k stars 683 forks source link

[bug]: Built in Docker container doesn't start a working server #1504

Closed di-repo closed 5 years ago

di-repo commented 5 years ago

Describe the bug When a docker container is started from the provided script it doesn't start a healthy working website. After a successful build, the webserver instead of loading Venia returns Invalid Host header

To Reproduce Steps to reproduce the behavior:

  1. Go to pwa-studio root
  2. Execute bash docker/run-docker
  3. Wait for the image to build and for the dev server to start
  4. Visit https://pwa-docker.localhost in browser. Instead of PWA, Invalid Host Header is shown

Expected behavior I would expect Venia homepage to load.

Additional context When the dev server is loaded it displays the following message:

PWADevServer ready at http://0.0.0.0:8080/
GraphQL Playground ready at http://0.0.0.0:8080/graphiql 

I would expect here the domain specified as a DEV_SERVER_HOST to show, but I might be wrong on this.

Please complete the following device information:

Please let us know what packages this bug is in regards to:

dani97 commented 5 years ago

I too experience this issue. Because of this, I could not check service worker :(

awilcoxa commented 5 years ago

for follow up with @cherdman regarding docker resourcing