Just throw your services in a docker-compose.yml file, create a docker bridge network, and assign the:
networks:
- YourDockerNetwork
To the services in the yaml file, specify the ports it want’s to open with
ports:
- 8080:8080
And let it start up. If you want to get more complicated suggest reading the man page which really isn’t that long of a read.
Networking really cannot be simplified, you have to view it in a logistical way of how is Point A communicating with Point B which where Docker bridge networks come into play, they make the communication easy, if all your containers are all on the same docker network all you have to do is specify http://ContainerName:Port for them to communicate back and forth internally.







deleted by creator