Questions tagged [mongo-express]

66 questions
9
votes
3 answers

Problem with connecting mongo express service in docker

I have a docker configuration where I started nginx server. Now I have to run mongo and mongo-express to be able to connect to my database. When I put my configuration for those two in docker-compose.yml and try docker compose up, mongo service…
mrmar
  • 1,407
  • 3
  • 11
  • 26
9
votes
1 answer

Authentication Problem with mongo-express when trying to connect with MongoDB Kubernetes Cluster (created with MongoDB Community Kubernetes Operator)

I set up a Minikube-Cluster with the MongoDB Community Kubernetes Operator. To view the content i want to set up a mongo-express Instance which connects to the Mongo-Cluster/ReplicaSet. But if I apply the Deployment the Container always fails…
F. Pause
  • 121
  • 3
8
votes
4 answers

Unable to run mongo express with docker compose

This is my first post in node js and docker so bear with me. I am running a mongo and mongo express container with the docker-compose but mongo express is not running. When I run mongo and mongo express without docker-compose it works perfectly. So,…
Aniket Tiwari
  • 3,561
  • 4
  • 21
  • 61
3
votes
2 answers

mongo-express is not starting with docker-compose file

Below is my docker-compose.yml file. version: '3.1' services: mongodb: image: mongo ports: - 27017:27017 environment: - MONGO_INITDB_ROOT_USERNAME=root - MONGO_INITDB_ROOT_PASSWORD=admin mongo-express: image:…
3
votes
0 answers

Is there a Mongo-Express version for arm v7 on Docker?

I have to use Mongo-Express for a school projekt. Our teacher told us to use the Docker Hub on windows, because the whole class has windows laptops, but to be honest, I really hate windows so I thought I just use my Rasperry pi. So I have to know,…
dr0nygames
  • 31
  • 2
3
votes
4 answers

Mongo-Express started by Docker-Compose causing Error [MongoError]: failed to connect to server [mongo:27017] on first connect

Scenario: I want to start both Mongo and Mongo-Express from same docker-compose. I have no issue starting only mongodb from docker-compose. The issue raises when I try to link Mongo-Express to Mongo DB Service. I am not sure if I am missing either…
Jim C
  • 3,957
  • 25
  • 85
  • 162
2
votes
0 answers

Unable to connect to mongo-express in Kubernetes cluster depending on the version tag

I setup mongo-express in my local cluster and when connecting to it from localhost:8081 after successful authentication I see the message Turn on admin in config.js to view server statson the page. Searching for the issue I saw that it was related…
Vincenzo
  • 5,304
  • 5
  • 38
  • 96
2
votes
1 answer

Is it possible to configure mongo-express auth to present a login screen and control access to databases?

I'm setting up my first docker containers with mongo and mongo-express using the official docker-compose instructions e.g. something like this: # Use root/example as user/password credentials version: '3.1' services: mongo: image: mongo …
Laurence Fass
  • 1,614
  • 3
  • 21
  • 43
2
votes
1 answer

How do I use the new Server Discover and Monitoring pass option { useUnifiedTopology: true } to the MongoClient constructor in Docker

I am quite new to docker. I am trying to configure mongodb and mongo-express in the same docker network. I created a network called some-network. Then I ran mongodb with this command to set up mongo in the same network, I ran the command: docker run…
2
votes
1 answer

Failed to connect mongo-express to mongoDb in k8s

I configured mongodb with user name and password, and deployed mongoDb and mongoDb express. The problem is that I'm getting the following error in mongo-express logs: Could not connect to database using connectionString:…
Israel
  • 445
  • 2
  • 5
  • 15
2
votes
1 answer

mongo-express does not connect to mongodb

i have installed mongodb and i am able to connect via shell, now i am trying to install mongo-express, the installation was successful, i copied config.default.js file in config.js but it can't connect to mongo. As can be seen from the error it…
1
vote
0 answers

Docker containers: Mongo-express not able to authenticate connection to MongoDB

I'm currently trying to deploy my mongoDB and mongo-express containers locally with docker-compose. Right now my settings are just like default settings: mongo: image: mongo:latest restart: on-failure container_name: mongo …
1
vote
0 answers

How to connect to MongoDB on Docker from another express server container. MongooseServerSelectionError: getaddrinfo ENOTFOUND mongodb

I'm new to Docker and struggling to use it with mongo and mongo_express. I found many StackOverflow posts about this issue, but none of them solved the problem I'm dealing with. I'm making a website that requires a user login function, and usernames…
1
vote
1 answer

mongo-express | Could not connect to database using connectionString: mongodb://127.0.0.1:27017/"

When trying to spin up a docker container with docker-compose, I get the following error message: (node:8) [MONGODB DRIVER] Warning: Current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use…
Dennis L
  • 37
  • 1
  • 4
1
vote
1 answer

Mongo Express to wait for MongoDB Cluster in Docker Compose

I'm trying to setup a local development with Docker Compose that has a MongoDB cluster as the database. I chose Mongo Express as the Database Admin User Interface so I can check inside the MongoDB database. It does take some time for the cluster to…
unspeakable29
  • 615
  • 1
  • 5
  • 14
1
2 3 4 5