Reputation: 5088
Is it possible to create a communication channel between 2 completely different docker-composes? I know I can just open the ports to the OS and connect through them but I want a more restricted access, something like a LAN over 2 different groups of containers.
Also I am holding back using Swarm and other managers like it for now.
Something like a link: instruction but over composes?
Cheers!
Upvotes: 0
Views: 66
Reputation: 5088
Shit, I overlooked the documentation part that was addressing it...
Here it is in case someone needs it.
networks:
default:
external:
name: my-pre-existing-network
Upvotes: 1