build-run.sh 1.1 KB

1234567891011121314
  1. #!/bin/sh
  2. mvn clean package
  3. docker build -t crowd_review:0.2 .
  4. #docker run --name crowd_review --rm -it -v /root/moooc_review/deploy.sh:/project/deploy.sh -p 80:8090 -e MONGODB_REVIEW_DB=crowd_review -e MONGODB_REVIEW_HOST=10.81.65.118 -e MONGODB_REVIEW_PORT=29019 -e MONGODB_REPORT_DB=co-report -e MONGODB_REPORT_HOST=10.81.65.118 -e MONGODB_REPORT_PORT=29019 -e EXPORT_ADDR=http://47.99.140.117:9002/generateReport -e TASK_ADDR=http://47.99.140.117:9001/Bug/api/extra/getExamList crowd_review:0.2 /bin/sh
  5. docker run --rm -it -v /Users/insomnialee/crowd_projects/meijie/deploy.sh:/project/deploy.sh -p 9004:9004 crowd_review:0.2 /bin/sh
  6. docker run -p 9004:9004 -t crowd_review:0.2
  7. docker run --name crowd_review_d --rm -it -v /root/moooc_review/deploy.sh:/project/deploy.sh -p 9005:8090 -e MONGODB_REVIEW_DB=crowd_review -e MONGODB_REVIEW_HOST=10.81.65.118 -e MONGODB_REVIEW_PORT=29019 -e MONGODB_REPORT_DB=co-report -e MONGODB_REPORT_HOST=10.81.65.118 -e MONGODB_REPORT_PORT=29019 -e EXPORT_ADDR=http://47.99.140.117:9002/generateReport -e TASK_ADDR=http://47.99.140.117:9001/Bug/api/extra/getExamList crowd_review_d:0.1 /bin/sh