mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
@@ -30,4 +30,5 @@ apt-get update && apt-get install -y --no-install-recommends gconf-service libas
|
||||
|
||||
# install default dependencies
|
||||
PUPPETEER_DOWNLOAD_HOST=https://npm.taobao.org/mirrors
|
||||
npm config set puppeteer_download_host=https://npm.taobao.org/mirrors
|
||||
npm install puppeteer-chromium-resolver crawlab-sdk -g --unsafe-perm=true --registry=https://registry.npm.taobao.org
|
||||
|
||||
@@ -12,6 +12,7 @@ services:
|
||||
CRAWLAB_REDIS_ADDRESS: "redis"
|
||||
CRAWLAB_LOG_PATH: "/var/logs/crawlab"
|
||||
CRAWLAB_SETTING_ALLOWREGISTER: "Y"
|
||||
CRAWLAB_SERVER_LANG_NODE: "Y"
|
||||
ports:
|
||||
- "8080:8080" # frontend
|
||||
depends_on:
|
||||
@@ -25,6 +26,7 @@ services:
|
||||
CRAWLAB_SERVER_REGISTER_IP: "172.19.0.2"
|
||||
CRAWLAB_MONGO_HOST: "mongo"
|
||||
CRAWLAB_REDIS_ADDRESS: "redis"
|
||||
CRAWLAB_SERVER_LANG_NODE: "Y"
|
||||
depends_on:
|
||||
- mongo
|
||||
- redis
|
||||
|
||||
Reference in New Issue
Block a user