{"id":28073530,"url":"https://github.com/rafi021/mongodb-mongo-express-docker-compose","last_synced_at":"2026-04-30T12:33:25.564Z","repository":{"id":292679988,"uuid":"981596510","full_name":"rafi021/mongodb-mongo-express-docker-compose","owner":"rafi021","description":"Docker Composer File for Mongodb and Mono-Express","archived":false,"fork":false,"pushed_at":"2025-05-12T11:49:25.000Z","size":108,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-27T08:57:40.052Z","etag":null,"topics":["docker","docker-compose","docker-container","mongo-express","mongodb"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rafi021.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-11T13:22:04.000Z","updated_at":"2025-05-12T11:49:29.000Z","dependencies_parsed_at":"2025-05-11T15:19:11.259Z","dependency_job_id":"42fdccec-c5fc-47bd-a0b6-6fd11313c652","html_url":"https://github.com/rafi021/mongodb-mongo-express-docker-compose","commit_stats":null,"previous_names":["rafi021/mongodb-mongo-express-docker-compose"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rafi021/mongodb-mongo-express-docker-compose","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafi021%2Fmongodb-mongo-express-docker-compose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafi021%2Fmongodb-mongo-express-docker-compose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafi021%2Fmongodb-mongo-express-docker-compose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafi021%2Fmongodb-mongo-express-docker-compose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rafi021","download_url":"https://codeload.github.com/rafi021/mongodb-mongo-express-docker-compose/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafi021%2Fmongodb-mongo-express-docker-compose/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32465009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-compose","docker-container","mongo-express","mongodb"],"created_at":"2025-05-12T22:59:40.982Z","updated_at":"2026-04-30T12:33:25.544Z","avatar_url":"https://github.com/rafi021.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# MongoDB Docker Setup\n\nThis repository contains a `docker-compose.yml` file to set up a MongoDB database and MongoDB Express, a web-based MongoDB admin interface.\n\n## Prerequisites\n\n- Docker installed on your system.\n- Docker Compose installed.\n\n\n\n\n## Usage\n\n1. Clone this repository or navigate to your project directory.\n\n2. Ensure you have the following mongodb-docker-compose.yml file in your directory:\n\n3. Start the services using the following command:\n\n```bash\n docker compose -f mongodb-docker-compose.yml up -d --build\n```\n\n4. Verify that the containers are running: \n\n```bash \ndocker ps \n```\n\n5. Access MongoDB Express:\n    Open your browser and navigate to `http://localhost:8081`.\n    (if you see not found page then, run this following command in termianl)\n\n    ```bash\n    docker exec -it mongodb mongosh --username user --password root --authenticationDatabase admin \n    ```\n\n    - Credential for Admin Login: admin/pass\n\n    Below is an example of the admin page:\n\n    ![MongoExpress Admin Page](./image.png)\n\n6. Connect to MongoDB:\n    - Host: `mongodb`\n    - Port: `27017`\n\n## Configuration\n\nThe `docker-compose.yml` file includes the following services:\n\n- **MongoDB**:\n  - Image: `mongo:latest`\n  - Ports: `27017:27017`\n  - Default storage is persisted using a Docker volume.\n\n- **MongoDB Express**:\n  - Image: `mongo-express:latest`\n  - Ports: `8081:8081`\n  - Environment variables for connecting to MongoDB are pre-configured.\n\n## Stopping the Services\n\nTo stop and remove the containers, run:\n\n```bash\ndocker compose -f mongodb-docker-compose.yml down\n```\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafi021%2Fmongodb-mongo-express-docker-compose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frafi021%2Fmongodb-mongo-express-docker-compose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafi021%2Fmongodb-mongo-express-docker-compose/lists"}