docker-compose up
dokcer exec -it image_id
mongo
show collections
use admin
show collections
here i have:
- messages
- system.indexes
- users
Here getting all messages
db.messages.find()
docker-compose up
dokcer exec -it image_id
mongo
show collections
use admin
show collections
here i have:
Here getting all messages
db.messages.find()