From d9e2a74ef632271d5a6024a1f5a97187a540a875 Mon Sep 17 00:00:00 2001 From: KennyLee Date: Thu, 27 Apr 2017 14:12:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0ci-webhook=E7=9A=84README.md?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ci-webhook/tomcat/README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/ci-webhook/tomcat/README.md b/ci-webhook/tomcat/README.md index 5838c7a..4a1120e 100644 --- a/ci-webhook/tomcat/README.md +++ b/ci-webhook/tomcat/README.md @@ -1,3 +1,22 @@ # Ci-Webhook-Tomcat +请用 `root` 来启动容器,容器启动成功后,访问 `http://host:7788/deploy/` 网址即可实现自动部署。可在 `ci` 服务器上配置这个webhook地址。 + +`JAVA_OPTS`, 项目构建的git源码地址以及分支等配置,可参考修改 `supervisord.conf` + +常用命令 + +``` +# 启动命令 +docker-compose up -d +# 查看superiorctl守护状态 +docker exec -i ciwebhook_app_1 supervisorctl status +# 查看tomcat控制台 +docker exec -i ciwebhook_app_1 supervisorctl tail -f tomcat +``` + +在以下环境使用通过: + +Docker version 17.03.1-ce, build c6d412e +docker-compose version 1.11.2, build dfed24