mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
updated README
This commit is contained in:
11
README-zh.md
11
README-zh.md
@@ -41,8 +41,9 @@
|
|||||||
|
|
||||||
### 要求(Docker)
|
### 要求(Docker)
|
||||||
- Docker 18.03+
|
- Docker 18.03+
|
||||||
- Redis
|
- Redis 5.x+
|
||||||
- MongoDB 3.6+
|
- MongoDB 3.6+
|
||||||
|
- Docker Compose 1.24+ (可选,但推荐)
|
||||||
|
|
||||||
### 要求(直接部署)
|
### 要求(直接部署)
|
||||||
- Go 1.12+
|
- Go 1.12+
|
||||||
@@ -52,12 +53,16 @@
|
|||||||
|
|
||||||
## 快速开始
|
## 快速开始
|
||||||
|
|
||||||
|
请打开命令行并执行下列命令。请保证您已经提前安装了 `docker-compose`。
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/crawlab-team/crawlab
|
git clone https://github.com/crawlab-team/crawlab
|
||||||
cd crawlab
|
cd crawlab
|
||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
|
接下来,您可以看看 `docker-compose.yml` (包含详细配置参数),以及参考 [文档](http://docs.crawlab.cn) 来查看更多信息。
|
||||||
|
|
||||||
## 运行
|
## 运行
|
||||||
|
|
||||||
### Docker
|
### Docker
|
||||||
@@ -71,13 +76,11 @@ services:
|
|||||||
image: tikazyq/crawlab:latest
|
image: tikazyq/crawlab:latest
|
||||||
container_name: master
|
container_name: master
|
||||||
environment:
|
environment:
|
||||||
CRAWLAB_API_ADDRESS: "http://localhost:8000"
|
|
||||||
CRAWLAB_SERVER_MASTER: "Y"
|
CRAWLAB_SERVER_MASTER: "Y"
|
||||||
CRAWLAB_MONGO_HOST: "mongo"
|
CRAWLAB_MONGO_HOST: "mongo"
|
||||||
CRAWLAB_REDIS_ADDRESS: "redis"
|
CRAWLAB_REDIS_ADDRESS: "redis"
|
||||||
ports:
|
ports:
|
||||||
- "8080:8080" # frontend
|
- "8080:8080"
|
||||||
- "8000:8000" # backend
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- mongo
|
- mongo
|
||||||
- redis
|
- redis
|
||||||
|
|||||||
10
README.md
10
README.md
@@ -41,8 +41,9 @@ Two methods:
|
|||||||
|
|
||||||
### Pre-requisite (Docker)
|
### Pre-requisite (Docker)
|
||||||
- Docker 18.03+
|
- Docker 18.03+
|
||||||
- Redis
|
- Redis 5.x+
|
||||||
- MongoDB 3.6+
|
- MongoDB 3.6+
|
||||||
|
- Docker Compose 1.24+ (optional but recommended)
|
||||||
|
|
||||||
### Pre-requisite (Direct Deploy)
|
### Pre-requisite (Direct Deploy)
|
||||||
- Go 1.12+
|
- Go 1.12+
|
||||||
@@ -52,12 +53,16 @@ Two methods:
|
|||||||
|
|
||||||
## Quick Start
|
## Quick Start
|
||||||
|
|
||||||
|
Please open the command line prompt and execute the command beloe. Make sure you have installed `docker-compose` in advance.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/crawlab-team/crawlab
|
git clone https://github.com/crawlab-team/crawlab
|
||||||
cd crawlab
|
cd crawlab
|
||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Next, you can look into the `docker-compose.yml` (with detailed config params) and the [Documentation (Chinese)](http://docs.crawlab.cn) for further information.
|
||||||
|
|
||||||
## Run
|
## Run
|
||||||
|
|
||||||
### Docker
|
### Docker
|
||||||
@@ -76,8 +81,7 @@ services:
|
|||||||
CRAWLAB_MONGO_HOST: "mongo"
|
CRAWLAB_MONGO_HOST: "mongo"
|
||||||
CRAWLAB_REDIS_ADDRESS: "redis"
|
CRAWLAB_REDIS_ADDRESS: "redis"
|
||||||
ports:
|
ports:
|
||||||
- "8080:8080" # frontend
|
- "8080:8080"
|
||||||
- "8000:8000" # backend
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- mongo
|
- mongo
|
||||||
- redis
|
- redis
|
||||||
|
|||||||
Reference in New Issue
Block a user