updated Jenkinsfile

This commit is contained in:
Marvin Zhang
2019-07-31 17:13:48 +08:00
parent d855fb5114
commit 3087e925a7
2 changed files with 3 additions and 1 deletions

2
Jenkinsfile vendored
View File

@@ -38,7 +38,7 @@ pipeline {
echo 'Deploying....'
sh """
docker-compose stop | true
docker-compose up
docker-compose up -d
"""
}
}

View File

@@ -8,6 +8,8 @@ services:
CRAWLAB_SERVER_MASTER: "Y"
CRAWLAB_MONGO_HOST: "mongo"
CRAWLAB_REDIS_ADDRESS: "redis:6379"
networks:
- host
ports:
- "8080:8080" # frontend
- "8000:8000" # backend