Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MongoDB express - Server Status Turn on admin in config.js to view server stats! #1248

Open
macrochel opened this issue Jul 22, 2023 · 2 comments
Labels
old_docker_version Will be fixed in a newer version of Docker image

Comments

@macrochel
Copy link

macrochel commented Jul 22, 2023

image: 0.54.0
Docker
When I sign in to see my mongo db page I see that:
image

@rtritto
Copy link
Member

rtritto commented Jul 23, 2023

Did you try to set env var ME_CONFIG_MONGODB_ENABLE_ADMIN to true?

@ropiaz
Copy link

ropiaz commented Aug 26, 2023

i have the same problem, cannot create any database collection either view the status

version: '3.7'
services:
mongodb:
image: mongo:7.0.0
container_name: mongodb
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: example
ports:
- "27017:27017"
volumes:
- mongodb_data:/data/db
restart: always

mongo-express:
image: mongo-express:0.54.0
container_name: mongo-express
depends_on:
- mongodb
environment:
ME_CONFIG_MONGODB_SERVER: mongodb
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: example
ME_CONFIG_MONGODB_ENABLE_ADMIN: true
ports:
- "8081:8081"
restart: always
volumes:
mongodb_data:

@rtritto rtritto added old_docker_version Will be fixed in a newer version of Docker image and removed needs_confirmation labels Oct 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
old_docker_version Will be fixed in a newer version of Docker image
Projects
None yet
Development

No branches or pull requests

3 participants