Docker-compose - Static Ip with existing Network (external)

Hi,
I’m not able to set a static ip in a network defined with “docker network create”.
I can use that network in a docker-compose file but without static ip.
Could someone make an example or tell me if it is even possible?

Thank you