My situation is I have my main service on container A and another helper service on container B. Container B is the sidecar of container A so I need container B will be deployed on the same Swarm node with container A.
How can I achieve this requirement?
I’m using a
docker-compose.yml file to deploys my services, so it would be helpful if someone can give me an example with a docker-compose file.
Thanks in advance:smile: