Questions tagged [mongo-express]
66 questions
1
vote
2 answers
mongo-express is not trying to reconnect after first attempt
I am trying to create two services mongo and mongo-express through docker-compose file.
Let me explain the scenario -
If I run those two containers separately in a same container using docker-run commands in terminal one by one they work…

Sankalp Singh
- 23
- 5
1
vote
1 answer
MongoServerError: Authentication failed when using mongo and mongo express with docker containers
I am learning docker so I was following one of the video it shown that how to connect your js app with mongoDB when it is running in docker containers . Now little variation I did is that it shown to connect mongo on system port 27017 which is…

VAIBHAV JAIN
- 29
- 1
- 5
1
vote
1 answer
How to connect Mongo-Express and MongoDB in a container network when container name for MongoDb is changed to anything other than "mongo"?
Using - Docker version 20.10.7, build f0df350
This is what I want to do:
Have two containers in same docker network - one each for MongoDb and Mongo-Express. Expose localhost port 8090 to container port 8081 for Mongo-Express. Not exposing port in…

rbewoor
- 305
- 1
- 3
- 14
1
vote
0 answers
Mongo-Express not showing the Mongodb servers
I have a MongoDB replica set configured in a minikube environment and I have successfully connected the mongo-express to the replica set through the "ME_CONFIG_MONGODB_URL". Even though they are connected I'm unable to view the status of the…

lp_nave
- 244
- 3
- 17
1
vote
0 answers
mongoimport results in bad ObjectId format
I exported a local database using the mongo-express export functionality. To my knowledge mongo-express uses mongoexport to generate the documents as JSON files.
Here is an example of an exported collection called…

SuperTasche
- 479
- 1
- 7
- 17
1
vote
1 answer
cp: can't create '/node_modules/mongo-express/config.js': File exists
Problem with kubernetes volume mounts.
The mongo-express container has a file /node-modules/mongo-express/config.js
I need to overwrite the /node-modules/mongo-express/config.js with my /tmp/config.js
I am trying to copy my custom config.js under…

samarth urs
- 11
- 2
1
vote
0 answers
I tried to connect the mongodb container to mongo-express UI but not able to create the database and getting could not create collection error
After that I'm not able to add new database and getting this error:
Meanwhile, when I checked the logs I'm getting some Authentication failed error

Sonali Mahajan
- 94
- 1
- 4
1
vote
1 answer
Can a Mongo-Express container connect to MongoDB with TLS?
I have a mongo container, started with the requireTLS TLS mode, and a mongo-express container. Mongo-express does not seem to manage to connect to mongo using TLS.
My docker-compose.yml:
version: '3.1'
services:
mongodb1:
image :…

fabio
- 247
- 2
- 8
1
vote
1 answer
Use/reference container name in a different service with docker compose
My docker-compose.yml file looks like this:
version: '3.7'
networks:
myNetwork:
volumes:
mongo_data:
services:
db:
image: mongo
restart: always
networks:
- myNetwork
volumes:
- mongo_data:/data/db
ports:…

reggaemahn
- 6,272
- 6
- 34
- 59
0
votes
0 answers
Docker container Mongo Express failed to listening to port
After Running the Container mongodb port 27017 is running fine but mongodb-express failed and getting the below error
version: "3.8"
services:
mongodb:
image: mongo
container_name: mongodb
ports:
- 27017:27017
volumes:
…
0
votes
0 answers
Mongo-express connection error: Load balancer mode requires driver version 4+ : Mongo-express:latest docker image
could not connect to database using connectionString: "mongodb-url"
(node:6) UnhandledPromiseRejectionWarning: MongoParseError: Load balancer mode requires driver version 4+
at QueryReqWrap.callback…

ibtihel
- 1
- 1
0
votes
4 answers
MongooseServerSelectionError: connect ECONNREFUSED ::1:27017 error
import express from 'express'
const app = express();
const port = process.env.PORT || 8000;
import mongoose from 'mongoose';
mongoose.connect("mongodb://localhost:27017/schooldb").then(() => {
console.log("connection successfully…
0
votes
0 answers
MongoNetworkError: failed to connect to server - Mongo-Express keeps restarting
I am trying to run mongo and connected mongo-express defined in a following docker-compose.yml:
version: '3.8'
services:
mongo1:
image: mongo:6.0.4
container_name: mongo1
restart: always
depends_on:
- mongo2
- mongo3
…

Adam93
- 13
- 4
0
votes
0 answers
My Mongo Express container cannot comment to My Mongo Database container
My goal is to build a Mongo database with its express using Docker.
I am using the terminal.
I created the network.
docker network create mongo
Then, I put this command.\
docker run --detach
--name mongodatabaseimage
--network mongo
--publish…

Ibrahim Shaglil
- 63
- 7
0
votes
1 answer
Unable to Authenticate Mongo-exporess on Mongo db with Docker Compose
I m trying to connect mongo express and my node app to mongo db with docker compose but I' m unable to authenticate.
Can not connect those service with docker-compose, continusly getting this error:
Could not connect to database using…

Giovanni Bianciardi
- 65
- 1
- 6