From 931e9a1d214fac5e58349e03e871aaf5d2d97141 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=99=AF=E9=98=B3?= <1656488874@qq.com> Date: Tue, 7 Jan 2020 00:35:56 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/conf/config.yml | 25 +++++++++++++------------ frontend/.env.development | 2 +- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/backend/conf/config.yml b/backend/conf/config.yml index 5ada78f6..0ac6b5a1 100644 --- a/backend/conf/config.yml +++ b/backend/conf/config.yml @@ -1,25 +1,25 @@ api: address: "localhost:8000" mongo: - host: localhost + host: "192.168.235.26" port: 27017 - db: crawlab_test - username: "" - password: "" + db: crawlab_local + username: "root" + password: "example" authSource: "admin" redis: - address: localhost - password: "" + address: 127.0.0.1 + password: database: 1 port: 6379 log: level: info - path: "/var/logs/crawlab" + path: "./logs/crawlab" isDeletePeriodically: "N" deleteFrequency: "@hourly" server: host: 0.0.0.0 - port: 8000 + port: 8001 master: "Y" secret: "crawlab" register: @@ -27,11 +27,12 @@ server: type: "mac" ip: "" spider: - path: "/app/spiders" + path: "./spiders" task: workers: 4 other: - tmppath: "/tmp" -version: 0.4.2 + tmppath: "./tmp" +version: 0.4.1 setting: - allowRegister: "N" \ No newline at end of file + allowRegister: "N" + diff --git a/frontend/.env.development b/frontend/.env.development index 779d28e4..80220bf8 100644 --- a/frontend/.env.development +++ b/frontend/.env.development @@ -1,2 +1,2 @@ NODE_ENV='development' -VUE_APP_BASE_URL=http://localhost:8000 +VUE_APP_BASE_URL=http://localhost:8001