Giving Windows container a public IP

I am trying to give a Windows container an IP other then localhost (when I look in Docker Desktop for Windows), but without success.
image
Below is my current file, does anyone see what’s wrong?
docker-compose.yml

version: "2.4"
networks:
    public:
        driver: nat
        ipam:
            driver: windows
            config:
            - subnet: 192.168.10.0/24
services:
    publicsystem:
        build: ./PublicSystem
        networks:
            - public

Where did the edit button go? Is there some kind of limit to how many edits you can make? I was going to give the post a better title, the current one is maybe a bit unclear?

Is this possible on Windows? I have only seen Linux examples.