sumnima sumnima sumnima sumnima sumnima sumnima sumnima
Categories
blog mongo

mongo

#mongo #bookmark

To reset database. Go to server terminal, then type these commands by order:

sudo docker exec -it mongodb bash mongo show dbs use your-db-name db.dropDatabase()

After typing those, go back to your deployment folder then enter “mupx restart”