Docker application container is creating empty db when connecting with window system mongodb database

mean-stack technology i am using(mongodb,nodejs,express, angularjs)

can you have any other sample project to run in docker with login credentials. to check that project is working in my system or not.

i do not have any other app like that.

I have a nodejs/angular/mongodb app with swagger based rest apis. not using docker. all hand written code for accessing db

all code for creating tables is done at setup time, not in the app.

you said your are not yet used docker-compose file. you said to use docker file and run the application. so that I asked for my reference. If you seen any idea, links or sample application(using docker-compose file) or (without docker-compose file) please share with me. I am waiting for your response. Thanks in advance