Mongodb-atlas-local reconfiguring replica sets on subsequent runs

I have implemented the solution outlined here in my docker-compose.yml file, and have tested this. Works like a charm. Thank you for finding the solution, and posting such a great walkthrough of what is ultimately happening.