{"id":14972112,"url":"https://github.com/bezkoder/docker-compose-nodejs-mysql","last_synced_at":"2025-10-26T17:31:30.094Z","repository":{"id":47304756,"uuid":"397120593","full_name":"bezkoder/docker-compose-nodejs-mysql","owner":"bezkoder","description":"Docker Compose Nodejs Express and MySQL example","archived":false,"fork":false,"pushed_at":"2023-10-14T09:07:28.000Z","size":4,"stargazers_count":81,"open_issues_count":1,"forks_count":85,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-31T21:52:49.643Z","etag":null,"topics":["docker","docker-compose","mysql","mysql-database","node","nodejs","rest-api","restful-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}},"created_at":"2021-08-17T05:50:05.000Z","updated_at":"2024-11-18T15:44:45.000Z","dependencies_parsed_at":"2022-07-25T01:32:25.843Z","dependency_job_id":null,"html_url":"https://github.com/bezkoder/docker-compose-nodejs-mysql","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-mysql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bezkoder%2Fdocker-compose-nodejs-mysql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bezkoder%2Fdocker-compose-nodejs-mysql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bezkoder%2Fdocker-compose-nodejs-mysql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bezkoder","download_url":"https://codeload.github.com/bezkoder/docker-compose-nodejs-mysql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238375225,"owners_count":19461569,"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","mysql","mysql-database","node","nodejs","rest-api","restful-api"],"created_at":"2024-09-24T13:46:24.420Z","updated_at":"2025-10-26T17:31:24.837Z","avatar_url":"https://github.com/bezkoder.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Compose Nodejs and MySQL 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 MySQL 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 [Dockerize Node.js Express and MySQL example - Docker Compose](https://www.bezkoder.com/docker-compose-nodejs-mysql/)\r\n\r\nRelated Posts:\r\n\u003e [Build Node.js Rest APIs with Express \u0026 MySQL](https://www.bezkoder.com/node-js-rest-api-express-mysql/)\r\n\r\n\u003e [Upload/store images in MySQL using Node.js, Express \u0026 Multer](https://www.bezkoder.com/node-js-upload-image-mysql/)\r\n\r\n\u003e [Node.js: Upload CSV file data into Database with Express](https://bezkoder.com/node-js-upload-csv-file-database/)\r\n\r\n\u003e [Node.js: Upload Excel file data into Database with Express](https://www.bezkoder.com/node-js-upload-excel-file-database/)\r\n\r\n\u003e [Build Node.js Rest APIs with Express, Sequelize \u0026 MySQL](https://bezkoder.com/node-js-express-sequelize-mysql/)\r\n\r\n\u003e [Server side Pagination in Node.js with Sequelize and MySQL](https://bezkoder.com/node-js-sequelize-pagination-mysql/)\r\n\r\n\u003e [Deploying/Hosting Node.js app on Heroku with MySQL database](https://bezkoder.com/deploy-node-js-app-heroku-cleardb-mysql/)\r\n\r\nSecurity:\r\n\u003e [Node.js Express: JWT example | Token Based Authentication \u0026 Authorization](https://bezkoder.com/node-js-jwt-authentication-mysql/)\r\n\r\nAssociations:\r\n\u003e [Sequelize Associations: One-to-Many Relationship example](https://bezkoder.com/sequelize-associate-one-to-many/)\r\n\r\n\u003e [Sequelize Associations: Many-to-Many Relationship example](https://bezkoder.com/sequelize-associate-many-to-many/)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbezkoder%2Fdocker-compose-nodejs-mysql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbezkoder%2Fdocker-compose-nodejs-mysql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbezkoder%2Fdocker-compose-nodejs-mysql/lists"}