File tree Expand file tree Collapse file tree 1 file changed +34
-11
lines changed Expand file tree Collapse file tree 1 file changed +34
-11
lines changed Original file line number Diff line number Diff line change 1
1
# Docker-node.js
2
2
3
- > Based on the docker to build the development environment
3
+ > A development environment built using Docker
4
4
5
- ## TODO
6
- - [ ] Nginx
7
- - [ ] Nodemon
8
- - [ ] Test on Windows
9
-
10
5
## Software Stack
11
- - MongoDB
12
- - Redis
13
- - MySQL
14
- - Node.js 7.x
6
+ - [x] MongoDB
7
+ - [x] Redis
8
+ - [x] MySQL
9
+ - [x] Node.js 7.x
10
+ - [x] Nginx
11
+
12
+
15
13
16
14
## How to use it?
17
15
21
19
22
20
- [ Docker-compose] ( https://github.com/docker/compose/releases )
23
21
24
- #### Install
22
+ #### Setup
25
23
26
24
``` bash
27
25
@@ -37,9 +35,34 @@ docker-compose up -d
37
35
38
36
Now,you can open http://127.0.0.1:3000/ in browser
39
37
38
+ #### Configure
39
+
40
+ You can find the custom $software configuration file in ` ./docker/$software/etc/ `
41
+
42
+
43
+ #### Data
44
+
45
+ You can find the $software data file in ` ./docker/$software/Data/ `
46
+
47
+ ## TODO
48
+
49
+ - [ ] Build the nginx image with the lua module
50
+ - [ ] Optimize the configuration file
51
+ - [ ] Test on Windows
52
+
53
+ ##### Why do I need a Lua module?
54
+
55
+ > The nginx configuration file uses environment variables
56
+
57
+
58
+
59
+
60
+
40
61
## Change Log
41
62
[ Changelog.md] ( changelog.md )
42
63
64
+
65
+
43
66
## Pull image
44
67
45
68
```
You can’t perform that action at this time.
0 commit comments