Skip to content

Commit 8f208c4

Browse files
committed
add Getting Started doc
1 parent b4da90f commit 8f208c4

File tree

6 files changed

+44
-0
lines changed

6 files changed

+44
-0
lines changed

docs/configure-mongodb.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Configure Mongodb
2+
3+

docs/configure-mysql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Configure MySQL

docs/configure-nginx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Configure Nginx

docs/configure-nodemon.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Configure Nodemon

docs/configure-redis

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Configure Redis

docs/getting-started

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Getting Started
2+
3+
## Requirements
4+
5+
- [Docker](https://www.docker.com/)
6+
7+
- [Docker-compose](https://github.com/docker/compose/releases)
8+
9+
## Setup
10+
11+
```bash
12+
13+
git clone https://github.com/huangyanxiong01/docker-node.js.git
14+
15+
cd docker-node.js
16+
17+
yarn install
18+
19+
docker-compose up -d
20+
21+
```
22+
23+
## Docker-compose Basic operation
24+
25+
> The service contains nginx, redis, mongodb, mysql, node.js
26+
27+
- docker-compose stop
28+
29+
>Stop service
30+
31+
- docker-compose start
32+
33+
>start service
34+
35+
- docker-compose restart
36+
37+
>restart service

0 commit comments

Comments
 (0)