Created
January 19, 2022 23:58
-
-
Save justinpage/b17d22dcb5258168c32d637fc5da6d66 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker-compose exec -T mongo mongoimport "mongodb://0.0.0.0:27017" --username root --password secret --authenticationDatabase admin -d movieData -c movies --jsonArray --drop < ~/Downloads/tv-shows.json > output.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment