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

how to configure port to run in docker container #2

Open
laurencefass opened this issue Mar 29, 2019 · 2 comments
Open

how to configure port to run in docker container #2

laurencefass opened this issue Mar 29, 2019 · 2 comments

Comments

@laurencefass
Copy link

im new to react and i want to try this application out in docker. how can i change the default url to run of a known port to expose to a docker network?

thanks

@spleshka
Copy link
Member

Hi @laurencefass. If you just run make install on the local environment and wait for it to complete, you'll be able to access your application on http://app.docker.localhost domain.

Is that what you're looking for?

@laurencefass
Copy link
Author

i wont have app.docker.localhost defined on my host machine. to run in docker i need to expose a port (not a url) so i can expose it onto a docker network through a docker-compose file. Urls are assigned by the host. Or I'm open to any recommendations for running and exposing through a docker container.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants