How do I make two Elixir applications(server & client) communicate with Phoenix.PubSub?

I wonder if you’re missing a piece in your topology to assign your docker containers to a shared network. I’ve always had issues with separate containers talking to each other unless I explicitly set a network.

In my case, I wasn’t using docker-compose but starting docker manually.