Aman Dokania
Aman Dokania

Reputation: 21

Facing issue to connect mongodb and mongoexpress using docker?

[MONGODB DRIVER] Warning: Current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor. Mongo Express server listening at http://0.0.0.0:8081 Server is open to allow connections from anyone (0.0.0.0) basicAuth credentials are "admin:pass", it is recommended you change this in your config.js!

enter image description here

Upvotes: 2

Views: 3201

Answers (1)

Shallon Kobusinge
Shallon Kobusinge

Reputation: 575

Apparently, mongodb-express in docker's latest release doesn't have server status, but 0.54.0 had it.

Try: docker pull mongo-express:0.54.0

And then remember to use mongo-express:0.54.0 for whatever you're doing later.

Upvotes: 3

Related Questions