Change mongodb IP Unifi Network Application

I’m using unifi network application docker image with MongoDB

The setup works like a charm - unfortunately I used a spcific IP adress with the MONGO_HOST environment variable. For reasons I need to change the IP - but the docu says “Only evaluated on first run”. I tried changing the parameter - I also tried to change the system.properties. But I had no luck changing the IP to a hostname/different IP.

I also tried to switch to docker compose - but samesame.

Is there any way to fix this?