Using the pyigtl Library to send data across a docker compose network

Hello,
I am trying to run SlicerTMS as two containers in a docker-compose but I am having issues using the pyigtl python library to send the data between the two containers.
I have got a container to send the data from a container to my local machine but that does not work for sending data between containers.

Likely it is just a modification to the the SlicerTMS code that I missed.
I will also add a link to the repo for the project and a brief explanation.

Simplistically, the docker compose creates two containers slicergui which hosts 3D Slicer 5.8.1 accessible using novnc through the web browser and installs the necessary extensions (OpenIGTLinkIF does need to be re-installed manually), and tmsserver which has the python server where SlicerTMS’s ai predictions occur.

I have been able to trigger the tmsserver to register a connection from within the slicergui container, but never with the pyigtl library needed to send the correct data