-
What did you do?Running docker over WSL. I have a local dev environment using docker-compose to setup anycable-go, anycable-rails, redis and postgres. I'm trying to just subscribe to a channel when everything is running and logs say connection to rpc/redis is fine. I'm able to hit I've tried disabling firewall/have all ports open, but it makes no difference. anycable-go log
anycable-rails log
docker-compose
Dockerfile is just the default ruby one for 3.0.2 anycable.yml
I've tried a bunch of variations of 0.0.0.0, localhost, 127.0.0.1 and using the rpc docker container ip directly with no luck. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You should specify anycable:
image: anycable/anycable-go:latest
environment:
- ANYCABLE_RPC_HOST=rpc:50051 |
Beta Was this translation helpful? Give feedback.
You should specify
ANYCABLE_RPC_HOST
to point to docker hostname of AnyCable RPC container (rpc
in your case). Then it should work: