-
Notifications
You must be signed in to change notification settings - Fork 75
/
docker-compose.yml
22 lines (22 loc) · 1.37 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
version: "3"
services:
master:
image: zkqiang/crawlab-lite:latest
container_name: master
ports:
- "8081:8080"
volumes:
- "/tmp/crawlab-lite-data:/app/data"
environment:
CRAWLAB_USER_USERNAME: admin # login username 用户名
CRAWLAB_USER_PASSWORD: admin # login password 用户密码
CRAWLAB_LOG_LEVEL: "info" # log level 日志级别
# CRAWLAB_API_ADDRESS: "https://<your_api_ip>:<your_api_port>" # backend API address 后端 API 地址. 适用于 https 或者源码部署
# CRAWLAB_LOG_EXPIREDAYS: 7 # The number of days the task logs is retained 任务日志保留的天数,超过会被删除
# CRAWLAB_TASK_WORKERS: 16 # number of task executors 任务执行器个数(并行执行任务数)
# CRAWLAB_TASK_EXPIREDAYS: 7 # The number of days the tasks is retained 任务数据保留的天数,超过会被删除
# CRAWLAB_SERVER_LANG_NODE: "Y" # whether to pre-install Node.js 预安装 Node.js 语言环境
# CRAWLAB_SERVER_LANG_JAVA: "Y" # whether to pre-install Java 预安装 Java 语言环境
# CRAWLAB_SERVER_LANG_DOTNET: "Y" # whether to pre-install .Net core 预安装 .Net Core 语言环境
# CRAWLAB_SERVER_LANG_PHP: "Y" # whether to pre-install PHP 预安装 PHP 语言环境
# CRAWLAB_SERVER_LANG_GO: "Y" # whether to pre-install GO 预安装 GO 语言环境