Ipvlan or macvlan in docker-compose.yml

Dear @rimelek,
thank you very much for your quick response.

I got this to work now: as long as I specify the same network for all three components, they get an IP out of the same VLAN and therefore can communicate to each other.

The ipvlan30 basically works as a DHCP. I do have to make sure that there are no dublicate IPs, if my router provides IPs as well.

Is there a way to define fixed IPs per container within the docker-compose.yml?

- GRAYLOG_HTTP_EXTERNAL_URI=http://192.168.30.3:9000/

does not take effect, as the container gets the IP 192.168.30.2 and is reachable on this ip.

Comming back to the macvlan: how would this work? Would there be a unique mac-address per container on the network? Then, I could manage DHCP-reservations in my router, instead of using the ipvlan30 within docker?

Chris