{"id":14957621,"url":"https://github.com/bezkoder/docker-compose-nodejs-mongodb","last_synced_at":"2025-05-02T07:31:52.703Z","repository":{"id":38847131,"uuid":"400034315","full_name":"bezkoder/docker-compose-nodejs-mongodb","owner":"bezkoder","description":"Docker Compose Nodejs Express and MongoDB example","archived":false,"fork":false,"pushed_at":"2023-10-14T08:49:01.000Z","size":4,"stargazers_count":66,"open_issues_count":0,"forks_count":56,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-29T23:14:52.419Z","etag":null,"topics":["docker","docker-compose","express","express-js","expressjs","mongo","mongodb","node","nodejs","rest-api"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/bezkoder.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}},"created_at":"2021-08-26T03:58:48.000Z","updated_at":"2024-10-23T08:57:56.000Z","dependencies_parsed_at":"2024-09-02T16:20:32.064Z","dependency_job_id":null,"html_url":"https://github.com/bezkoder/docker-compose-nodejs-mongodb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bezkoder%2Fdocker-compose-nodejs-mongodb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bezkoder%2Fdocker-compose-nodejs-mongodb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bezkoder%2Fdocker-compose-nodejs-mongodb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bezkoder%2Fdocker-compose-nodejs-mongodb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bezkoder","download_url":"https://codeload.github.com/bezkoder/docker-compose-nodejs-mongodb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224305842,"owners_count":17289446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","express","express-js","expressjs","mongo","mongodb","node","nodejs","rest-api"],"created_at":"2024-09-24T13:15:15.133Z","updated_at":"2024-11-12T16:03:11.810Z","avatar_url":"https://github.com/bezkoder.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Compose Nodejs and MongoDB example\r\n\r\n## Run the System\r\nWe can easily run the whole with only a single command:\r\n```bash\r\ndocker compose up\r\n```\r\n\r\nDocker will pull the MongoDB and Node.js images (if our machine does not have it before).\r\n\r\nThe services can be run on the background with command:\r\n```bash\r\ndocker compose up -d\r\n```\r\n\r\n## Stop the System\r\nStopping all the running containers is also simple with a single command:\r\n```bash\r\ndocker compose down\r\n```\r\n\r\nIf you need to stop and remove all containers, networks, and all images used by any service in \u003cem\u003edocker-compose.yml\u003c/em\u003e file, use the command:\r\n```bash\r\ndocker compose down --rmi all\r\n```\r\n\r\nFor more detail, please visit:\r\n\u003e [Docker Compose Node.js Express and MongoDB example](https://www.bezkoder.com/docker-compose-nodejs-mongodb/)\r\n\r\nRelated Posts:\r\n\u003e [Node.js, Express \u0026 MongoDb: Build a CRUD Rest Api example](https://bezkoder.com/node-express-mongodb-crud-rest-api/)\r\n\r\n\u003e [Server side Pagination in Node.js with MongoDB and Mongoose](https://bezkoder.com/node-js-mongodb-pagination/)\r\n\r\nSecurity:\r\n\u003e [Node.js + MongoDB: User Authentication \u0026 Authorization with JWT](https://bezkoder.com/node-js-mongodb-auth-jwt/)\r\n\r\nAssociations:\r\n\u003e [MongoDB One-to-One relationship tutorial with Mongoose examples](https://bezkoder.com/mongoose-one-to-one-relationship-example/)\r\n\r\n\u003e [MongoDB One-to-Many Relationship tutorial with Mongoose examples](https://bezkoder.com/mongoose-one-to-many-relationship/)\r\n\r\n\u003e [MongoDB Many-to-Many Relationship with Mongoose examples](https://bezkoder.com/mongodb-many-to-many-mongoose/)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbezkoder%2Fdocker-compose-nodejs-mongodb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbezkoder%2Fdocker-compose-nodejs-mongodb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbezkoder%2Fdocker-compose-nodejs-mongodb/lists"}