Support for multiple hosts #133
chris-doehring
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
I don't have a lot of experience with programming on Windows and Docker, but am I correct in thinking a temporary solution could be to set the hostname to different environment variables on your machine and the docker container, and use that env variable in the config? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm developing under a Windows environment with Docker. Usually it's completly enough to configure Ray to send anything to
host.docker.internal
, but sometimes I want to execute an artisan command without having to open a shell to the Docker container environment, but in that case Ray is not able to send anything since the target is configured ashost.docker.internal
and I don't want to change it since I only want to execute an artisan command and I would forget to change it back afterwards.It would be really nice if Ray could support an array of hostnames where the same request will be send to. In my case I could set
host.docker.internal
andlocalhost
, so it would send it twice, once to the correct address. In my opinion the port does not need to be configured multiple times since it will remain the same for all hostnames.The amount of failed requests could be reduced with a check whether a given hostname resolves or not.
Beta Was this translation helpful? Give feedback.
All reactions