Unable to extrapolate the hostname when running in Docker context #76

Closed
opened 2023-04-26 16:12:45 +00:00 by rishighan · 3 comments
rishighan commented 2023-04-26 16:12:45 +00:00 (Migrated from github.com)

@nstephenh Feel free to elaborate.

When running in a docker context, threetwo-ui's yarn run command results in the hostname not been accessible from the host, with this:

threetwo-ui         |   ?  Local:   http://localhost:5173/
threetwo-ui         |   ?  Network: use --host to expose
@nstephenh Feel free to elaborate. When running in a docker context, `threetwo-ui`'s `yarn run` command results in the hostname not been accessible from the host, with this: ``` threetwo-ui | ? Local: http://localhost:5173/ threetwo-ui | ? Network: use --host to expose ```
nstephenh commented 2023-04-26 16:16:55 +00:00 (Migrated from github.com)

Specifically it doesn't appear to be that the webui is accessible from devices other than localhost, but there could be something else wrong with my setup. Are you able to access it from across the network running from source?

From docker, I wouldn't expect even the host computer for the docker container would be able to access it unless the proxy network forwards traffic from localhost.

Specifically it doesn't appear to be that the webui is accessible from devices other than localhost, but there could be something else wrong with my setup. Are you able to access it from across the network running from source? From docker, I wouldn't expect even the host computer for the docker container would be able to access it unless the proxy network forwards traffic from localhost.
rishighan commented 2023-04-26 16:19:16 +00:00 (Migrated from github.com)

My test setup is running the docker-compose threetwo stack on Unraid, and past that I use unraidIP:<threetwo-ui-port> to access the UI

My test setup is running the `docker-compose` `threetwo` stack on Unraid, and past that I use `unraidIP:<threetwo-ui-port>` to access the UI
nstephenh commented 2023-04-27 19:38:03 +00:00 (Migrated from github.com)

Working now!

Working now!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: frishi/threetwo#76