{"id":20603831,"url":"https://github.com/maxkostinevich/node-docker-template","last_synced_at":"2026-04-08T16:02:12.567Z","repository":{"id":88838121,"uuid":"202749486","full_name":"maxkostinevich/node-docker-template","owner":"maxkostinevich","description":"Docker template for Node.js/Express application, compatible with Serverless Framework.","archived":false,"fork":false,"pushed_at":"2019-08-19T14:39:19.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-08T07:38:56.989Z","etag":null,"topics":["docker","docker-compose","express","js","nodejs","serverless","serverless-framework"],"latest_commit_sha":null,"homepage":"","language":"Batchfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxkostinevich.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-08-16T15:09:27.000Z","updated_at":"2019-09-12T21:37:32.000Z","dependencies_parsed_at":"2023-03-21T07:49:07.439Z","dependency_job_id":null,"html_url":"https://github.com/maxkostinevich/node-docker-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maxkostinevich/node-docker-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxkostinevich%2Fnode-docker-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxkostinevich%2Fnode-docker-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxkostinevich%2Fnode-docker-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxkostinevich%2Fnode-docker-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxkostinevich","download_url":"https://codeload.github.com/maxkostinevich/node-docker-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxkostinevich%2Fnode-docker-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31562697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","express","js","nodejs","serverless","serverless-framework"],"created_at":"2024-11-16T09:18:49.421Z","updated_at":"2026-04-08T16:02:12.543Z","avatar_url":"https://github.com/maxkostinevich.png","language":"Batchfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node.js Docker Template\nDocker Compose template for Node.js/Express application.\n\n![bash](https://user-images.githubusercontent.com/10295466/63177649-0cbb5b80-c051-11e9-9be7-69d8411ec87e.png)\n\nLinux, OS X and Windows friendly.\n\n## Included services\n- Node.js\n- Serverless Framework\n- Mongo\n- Mongo Express (Mongo UI)\n- Redis\n- Mailhog (Mailcatcher alternative)\n\n\n## Project Setup\n\n### Prepare the Docker template\n\n1. Clone this repo:\n\n```\ngit clone git@github.com:maxkostinevich/node-docker-template.git yourproject\ncd yourproject\nrm -rf .git\n```\n\n2. Update project name in ```.env``` file\n\n3. Build and run containers:\n\n```\ndocker-compose build\ndocker-compose up\n```\n\n2. Login into ```node``` container:\n\n- on Windows:\n\n```\nnode.bat\n```\n- on Linux/OS X:\n\n```\nsh node.sh\n```\n\n### Run Project\n\n```\nnpm install\n\nnpm run watch\n```\n\n### Serverless Example\n\nRun serverless offline:\n```\nsls offline --host=0.0.0.0 --port=8080\n```\n\n\n### Running containers in the background\n\nYou may also run containers in the background using the following script:\n\n- on Windows:\n\n```\nserve.bat\n```\n\n- on Linux/OS X:\n\n```\nsh serve.sh\n```\n\n\n### Stop and delete containers\n\n\nTo stop Docker containers run:\n\n```\ndocker-compose stop\n```\n\nTo delete Docker containers run:\n\n```\ndocker-compose down\n```\n\n\n### Database Management\n\nFor your convenience, Mongo Express is installed and available at ```http://localhost:8081```\n\nYou may also login into ```mongo``` container using the following script:\n\n- on Windows:\n```\nmongo.bat\n```\n\n- on Linux/OSX:\n```\nsh mongo.sh\n```\n\n\n### Main Endpoints\n\n- App URL: ```http://localhost:8080```\n- Mongo UI: ```http://localhost:8081```\n- MailHog: ```http://localhost:8085```\n\n\n---\n### [MIT License](https://opensource.org/licenses/MIT)\n(c) 2019 [Max Kostinevich](https://maxkostinevich.com) - All rights reserved.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxkostinevich%2Fnode-docker-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxkostinevich%2Fnode-docker-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxkostinevich%2Fnode-docker-template/lists"}