Skip to content
项目

geekcell/docker-compose-nodejs-examples

在 GitHub 查看

关于

终于有了一些使用 Docker Compose 和 Node.js 入门的真实案例。

系统与基础设施

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
-1

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Getting started with Docker Compose and Nodejs

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.

If you're like us, you're using a development server like nodemon that watches all your file changes and reloads your app. Bringing this workflow over to Docker Compose is a bit tricky. We hope the following real world examples will save you from headaches 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/geekcell/docker-compose-nodejs-examples/tree/main/00-basic-express-generator

Express app with nodemon development server

https://github.com/geekcell/docker-compose-nodejs-examples/tree/main/01-express-nodemon

Express app with Redis and nodemon development server

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

Maintainers

Geek Cell

Previous Maintainer

Pascal Cremer

License

MIT

探索相关项目

加载中…