We should add a Docker network for services to communicate with each other without the need to bind ports on the host.
Moreover, this will allow for communication via container names, e.g. ws://opup-l1:8586.
The Composer should create a network tagged with the same label as other opup components: com.docker.compose.project=op-up. By default each new container should be part of the same opup-net network but this should be configurable via the create_container function arguments.
We should add a Docker network for services to communicate with each other without the need to bind ports on the host. Moreover, this will allow for communication via container names, e.g.
ws://opup-l1:8586
.The Composer should create a network tagged with the same label as other opup components:
com.docker.compose.project=op-up
. By default each new container should be part of the sameopup-net
network but this should be configurable via thecreate_container
function arguments.