@anarchopunk_girl If the two containers just need to talk to each other and not be publicly accessible, then you can actually network them together behind the scenes.
This tutorial covers a lot of the options: https://www.tutorialworks.com/container-networking/