I am trying to give a Windows container an IP other then localhost (when I look in Docker Desktop for Windows), but without success.

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