updated Jenkinsfile

This commit is contained in:
Marvin Zhang
2019-08-07 12:02:33 +08:00
parent 89ed39eff3
commit 122b81c16a
3 changed files with 13 additions and 11 deletions

View File

@@ -1,21 +1,21 @@
version: '3.3'
services:
master:
image: tikazyq/crawlab:latest
image: "tikazyq/crawlab:develop"
environment:
CRAWLAB_API_ADDRESS: "crawlab.cn/api"
CRAWLAB_API_ADDRESS: "crawlab.cn/dev/api"
CRAWLAB_SERVER_MASTER: "Y"
CRAWLAB_MONGO_HOST: "mongo"
CRAWLAB_REDIS_ADDRESS: "redis"
CRAWLAB_LOG_PATH: "/var/logs/crawlab"
ports:
- "8080:8080" # frontend
- "8000:8000" # backend
ports:
- "8090:8080" # frontend
- "8010:8000" # backend
depends_on:
- mongo
- redis
worker:
image: tikazyq/crawlab:latest
image: "tikazyq/crawlab:develop"
environment:
CRAWLAB_SERVER_MASTER: "N"
CRAWLAB_MONGO_HOST: "mongo"
@@ -27,9 +27,9 @@ services:
image: mongo:latest
restart: always
ports:
- "27017:27017"
- "27027:27017"
redis:
image: redis:latest
restart: always
ports:
- "6379:6379"
- "6389:6379"