Skip to content

DrSnowbird/mongo-compass-docker

Repository files navigation

Mongodb-Compass 1.32 + OpenJDK Java 11 + Maven 3.8 + Python 3.8 + pip 21 + node 16 + npm 7 + Gradle 7

Components

Build (Do this First!)

make build

Run

To bring up X-11 Desktop of Mongodb-Compass:

./run.sh

Run with MongoDB together

You can run Compass DB GUI and local MongoDB (as test database)

  1. Bring up 'mongodb-docker'
    docker-compose -f ./docker-compose up -d mongodb-docker
    
  2. Use the Mongodb-Compass to connect to Mongodb-docker The default password for local MongoDB:
    MONGO_INITDB_ROOT_USERNAME: mongoadmin
    MONGO_INITDB_ROOT_PASSWORD: mongoadmin
    

(Optional) Run MongoDB with Mongo-Express (Web-based UI)

You can use both Mongodb-Compass (X11 Desktop App) and Mongo-Express (Web UI) at the same!

docker-compose up -d

Then, use your web-browser to go to:

http://0.0.0.0:28081/
(login/password: admin/changeme)

References & Resources

See also