updated config.yml

This commit is contained in:
Marvin Zhang
2019-07-31 19:45:43 +08:00
parent 6eecc7c0ec
commit 23297bec1a
3 changed files with 4 additions and 14 deletions

View File

@@ -69,16 +69,6 @@ services:
depends_on:
- mongo
- redis
worker:
image: tikazyq/crawlab:latest
container_name: worker
environment:
CRAWLAB_SERVER_MASTER: "N"
CRAWLAB_MONGO_HOST: "mongo"
CRAWLAB_REDIS_ADDRESS: "redis"
depends_on:
- mongo
- redis
mongo:
image: mongo:latest
restart: always

View File

@@ -58,12 +58,12 @@ version: '3.3'
services:
master:
image: tikazyq/crawlab:latest
container_name: crawlab-master
container_name: master
environment:
CRAWLAB_API_ADDRESS: "192.168.99.100:8000"
CRAWLAB_API_ADDRESS: "localhost:8000"
CRAWLAB_SERVER_MASTER: "Y"
CRAWLAB_MONGO_HOST: "mongo"
CRAWLAB_REDIS_ADDRESS: "redis:6379"
CRAWLAB_REDIS_ADDRESS: "redis"
ports:
- "8080:8080" # frontend
- "8000:8000" # backend

View File

@@ -7,7 +7,7 @@ mongo:
username: ""
password: ""
redis:
address: 127.0.0.1
address: localhost
password: ""
database: 1
port: 6379