Support docker --ip option in docker-compose.yml files
As we work with a lot of OEMs our support and QA test scenarios often involve sets of hosts/VMs/containers that need to know each other's IP on startup. Further it would greatly simplify setup of these scenarios if the IP of each container could be fixed on startup. Please add support for the docker run --ip option in Docker compose.
As I understand it, the IP address is a property of a container's connection to a specific network. So it should probably be a sub-property of the config dictionary under networks:
web:
build: .
networks:
foo:
ip: 1.2.3.4
bar:
ip: 5.6.7.8
Looks like a duplicate here: https://github.com/docker/compose/issues/2804 with PR here: https://github.com/docker/compose/pull/3011
Thanks, they were missing the area/config tag, so I couldn't find it.
going to close this as a duplicate.