File tree Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,21 @@ footer: MIT Licensed | Copyright © 2016-present jc21.com
4545- [ Docker Install documentation] ( https://docs.docker.com/install/ )
4646- [ Docker-Compose Install documentation] ( https://docs.docker.com/compose/install/ )
4747
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:
4963
5064``` yml
5165version : ' 3'
@@ -71,15 +85,16 @@ services:
7185 - ./data/mysql:/var/lib/mysql
7286` ` `
7387
74- 3 . Bring up your stack
88+ 4 . Bring up your stack
7589
7690` ` ` bash
7791docker-compose up -d
7892```
7993
80- 4 . Log in to the Admin UI
94+ 5 . Log in to the Admin UI
8195
8296When 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.
8398
8499[ http://127.0.0.1:81 ] ( http://127.0.0.1:81 )
85100
You can’t perform that action at this time.
0 commit comments