- MongoDB
- Redis
- MySQL
- Node.js 7.x
- Nginx
If live behind the GFW please read this post Use Ali cloud
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
You can find the custom $software configuration file in ./docker/$software/etc/
You can find the $software data file in ./docker/$software/Data/
- Build the nginx image with the lua module
- Optimize the configuration file
- Test on Windows
The nginx configuration file uses environment variables
docker pull huangyanxiong2012/docker-node.js
If Ubuntu official source is too slow,You can add command in Dockerfile
FROM ubuntu:16.04
COPY ./sources.list /etc/apt/sources.list
