Inter-app communication in 24.10 Electric Eel

As a stop-gap until this is implemented in Fangtooth, I made a small service that creates a Docker network and automatically attaches all containers managed by middlewared, and adds a DNS alias in the k8s-style format for each service, effectively restoring the inter-app networking functionality from Dragonfish.

I’ve tried it on EE in a VM and it seems to work well. To test, I deployed both pgAdmin and Postgres as separate apps and tried connecting pgAdmin to the Postgres instance using its DNS name:

Here’s a link if anyone else wants to try it out:

Please feel free to open an issue on the repo if needed. I will be upgrading my production TrueNAS box to Electric Eel and performing more in-depth testing of this tool in a week or so.

9 Likes