Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include the Webpacker host on the web/app service #2311

Merged
merged 1 commit into from
Jan 26, 2020
Merged

Include the Webpacker host on the web/app service #2311

merged 1 commit into from
Jan 26, 2020

Conversation

ryanwi
Copy link
Contributor

@ryanwi ryanwi commented Oct 3, 2019

The environment variable for WEBPACKER_DEV_SERVER_HOST is required for the web/app container to be able to proxy /packs requests to the webpack-dev-server container. Otherwise the rails app will compile on-demand locally.

After struggling for a while, I discovered 2 issues that helped shine some light on the problem, ultimately discovering that only the one environment variable was needed.

The environment variable for WEBPACKER_DEV_SERVER_HOST is required for the web/app container to be able to proxy /packs requests to the webpack-dev-server container.
@gauravtiwari gauravtiwari merged commit ed500f6 into rails:master Jan 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants