Import data to MongoDB
If you want to import/restore or to do something else before using mongo db in your application you can look at the following example.
You just need to create Dockerfile for mongo seed service and provide the command to prepare mongo db. In this case it’s command
In the root of this repository you’ll find a file named
Let’s quickly review the contents of this file:
You can add the following example to your Github or Bitbucket account, and build the example.