This is a basic docker compose setup for your runtime. In order to avoid different mongo settings for local development in the IDE, add the host mongodb on 127.0.0.1 to your local hosts file. Linux: /etc/hosts Windows: c:\Windows\System32\drivers\etc\hosts