A MongoDB bootstraper, using mongo-express as dashboard UI, and official Node.js client driver.
For desktop GUI, consider MongoDB Compass.
- Database (MongoDB) http://localhost:27017
- Web UI (mongo-express) http://localhost:8081
None, as default.
Start with Docker Compose
# Initiate .env file
cp .env.sample .env
# Start services
docker compose up -dUpdate existing composed containers with latest images:
docker compose pull && \
docker compose down && \
docker compose up -dLaunch database first, then the UI.
docker run -p 27017:27017 -d --restart always --name=mongo mongodb/mongodb-community-server:latestPass in to link the database container with param --link database-container-name:db .
docker run -p 8081:8081 -d --restart always --link mongo:db --name mongo-express mongo-express:latest# Enter container and initiate shell
docker exec -it mongo mongosh