Assign mac address in networks?

hi !

one service need 2 networks
first network (default) need a static ip address and a fixed mac address
second network (webproxy) should be internal, no special case here.

version: '2'
services:
  nginx:
    image: nginx
    mac_address: xx:xx:xx:xx:xx 
    networks:
     default:
      ipv4_address: 1.2.3.4
     webproxy:
     ...
     ...

the result is, that the webproxy get my definded mac address and that is not what i need!
what i miss here, is a way, to assign mac_address for each network inside networks like ipv4_address?!

chris.

Hi Chris,
I think you are facing an issue already reported to Docker that you may have a look, in short it seems that you can’t customize some network settings (mac addresses, ports) if you’re using two or more networks in compose.

Cheers!