Skip to content

dairymix/docker-node.js

 
 

Repository files navigation

Docker-node.js

nodejsanddocker

Software Stack

  • MongoDB
  • Redis
  • MySQL
  • Node.js 7.x
  • Nginx

How to use it?

If live behind the GFW please read this post Use Ali cloud

Requirements

Setup

git clone https://github.com/huangyanxiong01/docker-node.js.git

cd docker-node.js

yarn install

docker-compose up -d

Now,you can open http://127.0.0.1:3000/ in browser

Configure

You can find the custom $software configuration file in ./docker/$software/etc/

Data

You can find the $software data file in ./docker/$software/Data/

TODO

  • Build the nginx image with the lua module
  • Optimize the configuration file
  • Test on Windows
Why do need Lua module?

The nginx configuration file uses environment variables

Change Log

Changelog.md

Other


docker pull huangyanxiong2012/docker-node.js

Note

If Ubuntu official source is too slow,You can add command in Dockerfile


FROM ubuntu:16.04
COPY ./sources.list /etc/apt/sources.list

About

Node.js+Koa2+MongoDB+MySQL+Redis+Docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 81.3%
  • Nginx 18.7%