File tree 2 files changed +25
-10
lines changed
2 files changed +25
-10
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,21 @@ footer: MIT Licensed | Copyright © 2016-present jc21.com
45
45
- [ Docker Install documentation] ( https://docs.docker.com/install/ )
46
46
- [ Docker-Compose Install documentation] ( https://docs.docker.com/compose/install/ )
47
47
48
- 2 . Create a docker-compose.yml file similar to this:
48
+ 2 . Create a config file for example
49
+ ``` json
50
+ {
51
+ "database" : {
52
+ "engine" : " mysql" ,
53
+ "host" : " db" ,
54
+ "name" : " npm" ,
55
+ "user" : " npm" ,
56
+ "password" : " npm" ,
57
+ "port" : 3306
58
+ }
59
+ }
60
+ ```
61
+
62
+ 3 . Create a docker-compose.yml file similar to this:
49
63
50
64
``` yml
51
65
version : ' 3'
@@ -71,15 +85,16 @@ services:
71
85
- ./data/mysql:/var/lib/mysql
72
86
` ` `
73
87
74
- 3 . Bring up your stack
88
+ 4 . Bring up your stack
75
89
76
90
` ` ` bash
77
91
docker-compose up -d
78
92
```
79
93
80
- 4 . Log in to the Admin UI
94
+ 5 . Log in to the Admin UI
81
95
82
96
When your docker container is running, connect to it on port ` 81 ` for the admin interface.
97
+ Sometimes this can take a little bit because of the entropy of keys.
83
98
84
99
[ http://127.0.0.1:81 ] ( http://127.0.0.1:81 )
85
100
Original file line number Diff line number Diff line change @@ -22,13 +22,13 @@ NPM has the ability to include different custom configuration snippets in differ
22
22
23
23
You can add your custom configuration snippet files at ` /data/nginx/custom` as follow:
24
24
25
- `/data/nginx/custom/root.conf` : Included at the very end of nginx.conf
26
- `/data/nginx/custom/http.conf` : Included at the end of the main http block
27
- `/data/nginx/custom/server_proxy.conf` : Included at the end of every proxy server block
28
- `/data/nginx/custom/server_redirect.conf` : Included at the end of every redirection server block
29
- `/data/nginx/custom/server_stream.conf` : Included at the end of every stream server block
30
- `/data/nginx/custom/server_stream_tcp.conf` : Included at the end of every TCP stream server block
31
- `/data/nginx/custom/server_stream_udp.conf` : Included at the end of every UDP stream server block
25
+ - `/data/nginx/custom/root.conf` : Included at the very end of nginx.conf
26
+ - `/data/nginx/custom/http.conf` : Included at the end of the main http block
27
+ - `/data/nginx/custom/server_proxy.conf` : Included at the end of every proxy server block
28
+ - `/data/nginx/custom/server_redirect.conf` : Included at the end of every redirection server block
29
+ - `/data/nginx/custom/server_stream.conf` : Included at the end of every stream server block
30
+ - `/data/nginx/custom/server_stream_tcp.conf` : Included at the end of every TCP stream server block
31
+ - `/data/nginx/custom/server_stream_udp.conf` : Included at the end of every UDP stream server block
32
32
33
33
Every file is optional.
34
34
You can’t perform that action at this time.
0 commit comments