All Projects → b00giZm → Docker Compose Nodejs Examples

b00giZm / Docker Compose Nodejs Examples

Licence: mit
Finally some real world examples on getting started with Docker Compose and Nodejs

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Docker Compose Nodejs Examples

Express Graphql Mongodb Boilerplate
A boilerplate for Node.js apps / GraphQL-API / Authentication from scratch - express, graphql - (graphql compose), mongodb (mongoose).
Stars: ✭ 288 (-69.49%)
Mutual labels:  redis, express, docker-compose
Express Mongodb Rest Api Boilerplate
A boilerplate for Node.js apps / Rest API / Authentication from scratch - express, mongodb (mongoose).
Stars: ✭ 153 (-83.79%)
Mutual labels:  redis, express, docker-compose
Assemble
Community
Stars: ✭ 3,995 (+323.2%)
Mutual labels:  gulp, grunt
Video.github.io
🎬视频网站项目已实现功能: 首页导航栏,中部轮播图,以及电影列表的展现,底部导航链接 注册页面 视频播放页面 搜索页面 登录页面 用户管理页面 一键安装 电影抓取 等功能。基于NodeJS的Express框架开发的动态网站项目,下面也提供了本程序的相关演示站点。
Stars: ✭ 413 (-56.25%)
Mutual labels:  gulp, express
Node Express Mongodb Jwt Rest Api Skeleton
This is a basic API REST skeleton written on JavaScript using async/await. Great for building a starter web API for your front-end (Android, iOS, Vue, react, angular, or anything that can consume an API). Demo of frontend in VueJS here: https://github.com/davellanedam/vue-skeleton-mvp
Stars: ✭ 603 (-36.12%)
Mutual labels:  redis, express
Node Tutorial
☺️Some of the node tutorial -《Node学习笔记》
Stars: ✭ 364 (-61.44%)
Mutual labels:  redis, express
Strimpack
A platform for livestreamers to make a home for their audience.
Stars: ✭ 378 (-59.96%)
Mutual labels:  express, docker-compose
Gulp Nodemon
gulp + nodemon + convenience
Stars: ✭ 531 (-43.75%)
Mutual labels:  gulp, nodemon
Devilbox
A modern Docker LAMP stack and MEAN stack for local development
Stars: ✭ 3,598 (+281.14%)
Mutual labels:  redis, docker-compose
Nodock
Docker Compose for Node projects with Node, MySQL, Redis, MongoDB, NGINX, Apache2, Memcached, Certbot and RabbitMQ images
Stars: ✭ 734 (-22.25%)
Mutual labels:  redis, docker-compose
Docker Handbook Projects
Project codes used in "The Docker Handbook"
Stars: ✭ 661 (-29.98%)
Mutual labels:  express, docker-compose
Nice Front End Tutorial
🌍 Constantly updated front-end resources, tutorials, opinions(与时俱进版前端资源,教程和意见。)
Stars: ✭ 755 (-20.02%)
Mutual labels:  gulp, redis
Nodejs Api Boilerplate
A boilerplate for kickstart your nodejs api project with JWT Auth and some new Techs :)
Stars: ✭ 364 (-61.44%)
Mutual labels:  express, docker-compose
Stacker
Stacker - The environment for local web development, ready for use.
Stars: ✭ 356 (-62.29%)
Mutual labels:  redis, docker-compose
Enferno
A Python framework based on Flask microframework, with batteries included, and best practices in mind.
Stars: ✭ 385 (-59.22%)
Mutual labels:  redis, docker-compose
Express Starter
🚚 A boilerplate for Node.js, Express, Mongoose, Heroku, Atlas, Nodemon, PM2, and Babel. REST / GraphQL API Server | PaaS | SaaS | CI/CD | Jest | Supertest | Docker | MongoDB | PostgreSQL | Sequelize | Lodash | RxJS | JWT | Passport | WebSocket | Redis | CircleCI | Apollo | DevSecOps | Microservices | Backend Starter Kit | ES6
Stars: ✭ 353 (-62.61%)
Mutual labels:  express, nodemon
Meantorrent
meanTorrent - MEAN.JS BitTorrent Private Tracker - Full-Stack JavaScript Using MongoDB, Express, AngularJS, and Node.js, A BitTorrent Private Tracker CMS with Multilingual, and IRC announce support, CloudFlare support. Demo at:
Stars: ✭ 438 (-53.6%)
Mutual labels:  gulp, express
Wordpress Starter
📦 A starter template for WordPress websites
Stars: ✭ 26 (-97.25%)
Mutual labels:  gulp, docker-compose
Jianshu
仿简书nx+nodejs+nestjs6+express+mongodb+angular8+爬虫
Stars: ✭ 296 (-68.64%)
Mutual labels:  redis, express
Filterlists
🛡 The independent, comprehensive directory of filter and host lists for advertisements, trackers, malware, and annoyances.
Stars: ✭ 653 (-30.83%)
Mutual labels:  redis, docker-compose

Getting started with Docker Compose and Nodejs

Heads up: Version 2.0 is coming! Read about its development here

https://medium.com/@b00giZm/building-the-next-version-of-compose-node-86eef3c23d5b

Motivation

Docker Compose is an awesome tool for creating isolated development environments with Docker by using simple configurations with YAML. It's clean and easy enough to wrap your head around, even if you are new to Docker. Even though, the official website is lacking some practial, real world examples for getting started with Docker Compose and Nodejs.

If you're like me, you are using a development server like nodemon that watches all your file changes and restarts your app accordingly. Bringing this workflow over to Docker Compose (née Fig) is a bit tricky. You can find many Github repositories that aim to show you how to do it, but not one (at least of the ones I found) of them are not suitable for "real world" development. Most of them even require you to rebuild your Dockerfile to reflect file changes - seriously?!

I hope the following real world examples will save you from some headache (like I had) while trying to figure out how to (pragmatically) use Docker Compose for your Nodejs apps.

Examples

Basic skeleton with Express app generator

https://github.com/b00giZm/docker-compose-nodejs-examples/tree/master/00-basic-express-generator

Express app with nodemon development server

https://github.com/b00giZm/docker-compose-nodejs-examples/tree/master/01-express-nodemon

Express app with Redis and nodemon development server

https://github.com/b00giZm/docker-compose-nodejs-examples/tree/master/02-express-redis-nodemon

Express app with Gulp.js build system

https://github.com/b00giZm/docker-compose-nodejs-examples/tree/master/03-express-gulp-watch

Express app with Grunt.js build system

https://github.com/b00giZm/docker-compose-nodejs-examples/tree/master/04-express-grunt-watch

Nginx, Express, Redis and nodemon

https://github.com/b00giZm/docker-compose-nodejs-examples/tree/master/05-nginx-express-redis-nodemon

More to come...

Maintainer

Pascal Cremer

License

The MIT License (MIT)

Copyright (c) 2014-2017 Pascal Cremer

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].