There three types of network that are built into docker
host
bridge
overlay
We need to decide which type of network out of these three will be supported by this project
host
There are services in the project that don't expose port on host but do expose port to other services on the network. You may not expose port without exposing the port on host using host network. Therefore, we can't support this network type.
bridge
We are already supporting bridge network.
overlay
We will added support for overlay network. Overlay support will allow this project to run on docker swarm cluster.
Rename current 'network.yml' to 'networkbridge.yml'
Chage 'network.yml' file name in env file.
Add a overlay network file 'networkoverlay.yml'
Make sure that you encrypt the traffic on this network
Add new production line in env file that deploys overlay network and some services that can be run on overlay network without volume on any of these services: backendhttp, phpfpm, cron, worker.
There three types of network that are built into docker
We need to decide which type of network out of these three will be supported by this project
https://www.percona.com/blog/2016/08/03/testing-docker-multi-host-network-performance/