updated Jenkinsfile

This commit is contained in:
Marvin Zhang
2019-08-04 22:53:09 +08:00
parent 4aa31450cb
commit d43eb46691
2 changed files with 1 additions and 3 deletions

2
Jenkinsfile vendored
View File

@@ -39,7 +39,7 @@ pipeline {
sh """
cd ./jenkins
docker-compose stop | true
docker-compose up -d
docker-compose up -d --scale worker=3
"""
}
}

View File

@@ -17,7 +17,6 @@ services:
- redis
worker:
image: tikazyq/crawlab:latest
container_name: worker
environment:
CRAWLAB_SERVER_MASTER: "N"
CRAWLAB_MONGO_HOST: "mongo"
@@ -25,7 +24,6 @@ services:
depends_on:
- mongo
- redis
replicas: 3
mongo:
image: mongo:latest
restart: always