Connect to host from docker compose service. #70257
Replies: 2 comments
-
Anyone can help? Everywhere I look it seems that contacting the host from a docker compose service is not working in a github action runner. |
Beta Was this translation helpful? Give feedback.
0 replies
-
It's ok found that my api also need to be on http://host-gateway:port |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Bug
Body
I have a dapr service running in docker compose that need to connect to a host api while running integration tests.
I'm using the dapr --app-channel-address to map it to host.docker.internal
Everything works fine locally with Docker Desktop for windows. But I'm not able to make it work in github actions.
My github action run with ubuntu so I've added this to my docker file.
extra_hosts:
Also tried using 172.17.0.1 directly.
But I still cannot connect from dapr inside docker to the host. Is there another way since I know you have a custom network for github actions?
Beta Was this translation helpful? Give feedback.
All reactions