[docker] compose: Switch ip_range to ipv4_address 35/65535/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 28 Nov 2018 17:11:20 +0000 (18:11 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 3 Dec 2018 13:45:44 +0000 (13:45 +0000)
commitc83587638ca4b7885bd002f0f6ddddd1f18d9a04
treeb028707766353b6ec0f434683e4d2fed4e3a177d
parentb5cad334243a0e258ba01d83c6884daee92503f5
[docker] compose: Switch ip_range to ipv4_address

Explicitly set the ipv4_address for each network instead of relying
on ip_range allocation, which seems to fail / not be picked up.

While at it, use docker-compose 1.22 or newer to bypass slow Docker
network creation with 'macvlan' driver [1].

[1] https://github.com/docker/compose/issues/5248

Change-Id: Ic31851522576ebb2407d869b7c3ed7bd06951922
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 904183e275ca6b2aa6cad11a330fc060d5379b3e)
mcp/scripts/docker-compose/docker-compose.yaml.j2
mcp/scripts/lib_jump_common.sh
mcp/scripts/lib_jump_deploy.sh